--- import { l, t, astroI18n } from "astro-i18n"; astroI18n.init(Astro); // New astro content collections import { getCollection } from "astro:content"; import BaseLayout from "../../layouts/BaseLayout.astro"; import ListCards from "../../components/ListCards.astro"; const localizedPost = await getCollection("references", ({ data }) => { return data.lang === astroI18n.langCode && !data.draft; }); // sort references by descending publication date const sortedReferences = localizedPost.sort( (a, b) => b.data.createdAt - a.data.createdAt ); const pageTitle = t("index.references.pageName"); ---

{t("index.references.pageName")}

{t("index.references.subtitle")}