--- import { getCollection, render } from "astro:content"; export async function getStaticPaths() { const postEntries = await getCollection("blog"); return postEntries.map((entry) => ({ params: { slug: entry.id }, props: { entry }, })); } const { entry } = Astro.props; const { Content } = await render(entry); ---