I have a file
[…slug].astro
---
export const prerender = true;
import { type CollectionEntry, getCollection } from 'astro:content';
import BlogPost from '../layouts/StandardPages.astro';
export async function getStaticPaths() {
const posts = await getCollection('pages');
return posts.map((post) => ({
params: { slug: post.slug },
props: post,
}));
}
type Props = CollectionEntry<'pages'>;
const post = Astro.props;
const { Content } = await post.render();
---
<BlogPost {...post.data}>
<Content />
</BlogPost>
and i need to split divide the content further, and paginate it, but i don´t get how i can do that on my own. Thanks further.