From eca47d8ce3923fa3b74a5a8fa9e16ffd0e51e112 Mon Sep 17 00:00:00 2001 From: sergeyyarkov Date: Tue, 24 Feb 2026 23:04:43 +0300 Subject: [PATCH] fix rss link in footer --- src/components/Footer.astro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); ---