--- import EditionLayout from "../../layouts/EditionLayout.astro"; import { getCollection, render } from "astro:content"; export async function getStaticPaths() { const entries = await getCollection("glossaire"); return entries.map((entry) => ({ params: { slug: String(entry.id).replace(/\.(md|mdx)$/i, "") }, props: { entry }, })); } const { entry } = Astro.props; const { Content } = await render(entry); ---

{entry.data.term}

{entry.data.definitionShort}