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

{f.data.title}

{f.data.preview}

)) }