--- import FragmentListItem from "../components/fragment-list-item.astro"; import { getCollection } from "astro:content"; const allFragments = await getCollection("fragment"); ---
{ Array.from({ length: 10 }).flatMap(() => allFragments .slice() .reverse() .map((f, ix) => ), ) }