--- import Footer from '$components/Footer.astro'; import Navbar from '$components/Navbar/Navbar.astro'; import translate from '$i18n/translate'; import tFeed from '$i18n/translations/pages/rss.xml'; import site from '$i18n/translations/site'; import { getLocaleFromPathOrDefault } from '$lib/getLocaleFromPath'; interface Props { title: string; } const { title } = Astro.props; const locale = getLocaleFromPathOrDefault(Astro.url.pathname); const t = translate(locale); ---