--- import { type CollectionEntry, render } from "astro:content"; import { getSortedDocs, getNextAndPreviousDocs } from "../content-utils"; import MainLayout from "$layouts/MainLayout.astro"; type Props = CollectionEntry<"docs">; const posts = await getSortedDocs(); const post = posts[0]; const { Content, headings } = await render(post); const { next, previous } = await getNextAndPreviousDocs(post); ---