Source: split follow-up from #237 after the #61 routing/layout/view baseline.
Scope:
- Add head metadata beyond the current
title, description, canonical, image, app Head, Open Graph, and Twitter card slice.
- Evaluate robots/noindex, sitemap metadata, preload, and prefetch as explicit
.gwdk source metadata or config-owned declarations.
- Keep head management out of
view {} markup unless a later syntax decision explicitly changes that contract.
- Preserve generated HTML escaping and URL safety for any metadata-derived head output.
Acceptance criteria:
- Source syntax and ownership are documented in
docs/language/markup.md, docs/language/syntax.md, or the relevant reference doc before implementation is advertised.
- Parser, IR, buildgen, appgen/SSR if applicable, manifest/sitemap, and route/report surfaces are updated together for any new stable metadata.
- Generated output tests cover escaping, URL policy, deterministic ordering, and SPA/SSR parity where applicable.
- Deferred metadata remains clearly documented as planned, not silently accepted.
Related: #61, #237.
Source: split follow-up from #237 after the #61 routing/layout/view baseline.
Scope:
title,description,canonical,image, appHead, Open Graph, and Twitter card slice..gwdksource metadata or config-owned declarations.view {}markup unless a later syntax decision explicitly changes that contract.Acceptance criteria:
docs/language/markup.md,docs/language/syntax.md, or the relevant reference doc before implementation is advertised.Related: #61, #237.