--- import Layout from "../../layouts/index.astro" import { getCollection, getEntry } from "astro:content" export function getStaticPaths() { return [{ params: { lang: "de" } }, { params: { lang: "en" } }] } const sections = await getCollection("sections", (section) => /^de/.test(section.id)) // const { data } = await getEntry("pages", "de") const data = { lang: "de", title: "Einführung EUCs", CSS: "EUC Überblick" } const warst = sections.map(async (section) => (await section.render()).Content) --- {warst}