diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 0b82aed..c952f80 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -17,11 +17,17 @@ interface Props { tags?: string[]; jsonLd?: unknown[]; noindex?: boolean; + lang?: 'da' | 'en'; + alternates?: { lang: 'da' | 'en'; path: string }[]; } -const { title, description, image, type, publishedTime, modifiedTime, tags, jsonLd, noindex } = Astro.props; +const { title, description, image, type, publishedTime, modifiedTime, tags, jsonLd, noindex, lang, alternates } = Astro.props; --- - + + {/* Hilsenen skal stå INDE i . Stod den før , smed Astros compiler + både og væk, og sitet mistede lang-attributten (juni-okt. 2026). */} + `} /> - - - +