--- // init i18n import { l, t, astroI18n } from "astro-i18n"; astroI18n.init(Astro); import BaseLayout from "../layouts/BaseLayout.astro"; // New astro content collections import { getCollection } from "astro:content"; // get all articles const localizedArticles = await getCollection("articles", ({ data }) => { return data.lang === astroI18n.langCode && !data.draft; }); // get all snippets const localizedFragments = await getCollection("fragments", ({ data }) => { return data.lang === astroI18n.langCode && !data.draft; }); const pageTitle = t("sitemap"); ---

{t("sitemap")}