--- import Base from '../../layouts/Base.astro'; import { getArtikel } from '../../lib/data.js'; export async function getStaticPaths(){ const artikel = await getArtikel(); return artikel.map(a => ({ params:{ slug:a.slug }, props:{ a } })); } const { a } = Astro.props; ---
← Zurück zum Magazin

{a.titel}

{a.teaser}

{a.titel}/
{a.inhalt.split('\n').map(p => p.trim() &&

{p}

)}