--- import { getCollection } from 'astro:content' import ArticleLayout from '../../layouts/ArticleLayout.astro' export async function getStaticPaths() { const guides = await getCollection('guides') console.log(guides) return guides.map(entry => ({ params: { id: entry.slug }, props: { entry }, })) } const { entry } = Astro.props const { Content } = await entry.render() ---

{entry.data.title}

{entry.data.series &&
Serie: {entry.data.series}
}