--- import { t, astroI18n } from "astro-i18n"; astroI18n.init(Astro); const pageTitle = t("index.veille.pageName"); import BaseLayout from "../../layouts/BaseLayout.astro"; import MetaDate from "../../components/MetaDate.astro"; // get all content const allSections = await Astro.glob("../../data/veille/**/*.md"); // only keep the right locale version const localizedSections = allSections.filter((section) => { return section.frontmatter.lang === astroI18n.langCode; }); ---

{pageTitle}

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

{ localizedSections.map((section) => (

{section.frontmatter.title}

)) }