Topic: ejs

2026-09-13 · 3 min read

Multi-language Express site with hreflang

How to structure a small Express and EJS site so that English lives at the root, other languages under a prefix, every page declares its alternates with hreflang and x-default, and the sitemap lists them, using a single config file and one content folder per language.

expressejsi18nhreflang
2026-09-12 · 3 min read

Markdown blog with Express and EJS

Build a content site where each article is a Markdown file with front matter, parsed once at startup and rendered with EJS. Covers a tiny front-matter parser, a marked renderer that marks external and sponsored links, reading-time estimates for languages without spaces, and generating sitemap.xml.

expressejsmarkdownmarked

← Guides