--- import BaseLayout from "../layouts/base-layout.astro"; import { getCollection, getEntry } from "astro:content"; const allFragments = await getCollection("fragment"); ---
{ allFragments.map((f, ix) => (
{ix}

{f.data.title}

{f.data.preview}

)) }