mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
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).
10 lines
446 B
Markdown
10 lines
446 B
Markdown
# 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.
|