--- import { getCollection } from "astro:content"; import Element from "../components/PostElement.astro"; import Layout from "../layouts/BaseLayout.astro"; const posts = await getCollection("blog"); ---
{posts.map((post) => )}