diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 40613ef..15ca240 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,6 +2,10 @@ import { Icon } from "astro-icon/components"; import TranslatedLink from "./TranslatedLink.astro"; import UIString from "./UIString.astro"; +import { getLanguageFromURL } from "../i18n/utils"; + +const pageLang = getLanguageFromURL(Astro.url.pathname); +console.log(pageLang); ---