--- import { getCollection } from "astro:content"; const allPosts = await getCollection("posts"); ---