--- import PageLayout from "../layouts/PageLayout.astro"; import {getCollection} from "astro:content"; import {t} from "astro-i18n"; const downloads = await getCollection("downloads"); --- {downloads.map(e => (

{e.data.name}

{t(e.data.description)}
{typeof e.data.url === 'object' ? Object.entries(e.data.url).map(value => ( {t(value[0])} )) : {t("Download")} } {e.data.sourceUrl ? Quelle : null}
))}