SEO header generation — localize keywords + full meta surface across all 14 languages#2539
Conversation
Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/f7b66508-10c3-421c-bd55-94177b6a014c Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…files) Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/f7b66508-10c3-421c-bd55-94177b6a014c Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🏷️ Automatic Labeling SummaryThis PR has been automatically labeled based on the files changed and PR metadata. Applied Labels: dashboard,html-css,i18n,translation,rtl,testing,refactor,size-xl Label Categories
For more information, see |
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…0 / CJK 70-120) Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/8648d192-793d-4763-bee1-16da1815c7c7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…d hub pages Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/8648d192-793d-4763-bee1-16da1815c7c7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…index_*.html Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/8648d192-793d-4763-bee1-16da1815c7c7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/07105192-af32-489c-8958-c98ea1f45884 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/894780ff-3a35-41e0-aa62-db1fb94101c7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
…gacy news files; normalize 2 non-canonical locales Agent-Logs-Url: https://github.com/Hack23/riksdagsmonitor/sessions/894780ff-3a35-41e0-aa62-db1fb94101c7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
SEO Header Generation — Comprehensive Improvement
Improving SEO headers across every page population so each language gets a complete, locale-aware
<head>driven (where applicable) by the per-language executive brief.Page populations in scope
news/$DATE-$SUB-$LANG.html— renderer pipelinepolitical-intelligence{,_$LANG}.html× 14dashboards/*{,_$LANG}.html× 126index{,_$LANG}.html× 14politician-dashboard{,_$LANG}.html× 14dashboard/index{,_$LANG}.html× 14Work checklist
<meta description>SERP windows — 13 testsstatic-pages-seo-head.ts+ 42 static pages regenerated — 28 testsNewsArticle.keywords[]+articleSectionin JSON-LDog:locale:alternate× 13, canonicalog:site_name, JSON-LD keyword arrays now land on every renderable articlescripts/backfill-news-og-locale-alternate.ts) for the residual hand-authored breaking-news / realtime-pulse / evening-analysis files that ship outside the renderer:og:locale:alternateblock on first runno_NO,en_GB) normalized to canonicalnb_NO/en_USand then alternate-injectedog:localetag to anchor against — owned by older template that ships a sparse head)Architecture, bounded context & quality assurance
article.mdsource (pipeline-clean output); the tested, idempotent backfill only touches the residual legacy files that have no markdown source to regenerate from.og:localealiases are centralized inOG_LOCALE_ALIASES(no_NO→nb_NO,en_GB→en_US) and applied before the alternate-injection guard so a single pass both normalizes and completes the head.Verification