mdcms/docs/unreleased.md
Claude ee3d4872a0
Patch <title> in index.html with sitename during build
mdcms build now writes the sitename from config.yml into the <title> tag
of index.html. WhatsApp, Slack, and other link-preview crawlers read the
static HTML without executing JavaScript, so the title must be correct in
the raw file. Previously it was blank (or "MD-CMS" in older templates).
2026-05-19 08:31:47 +00:00

446 B

Unreleased changes

Changes on development not yet merged to main.

Fixes

  • mdcms build now patches <title> in index.html with sitename from config.yml. Previously the HTML <title> tag was a hardcoded blank (or "MD-CMS" in older templates), so link previews in apps like WhatsApp showed the wrong name. After each build the tag reflects the configured site name, which crawlers and preview scrapers read directly.