--- import { getCollection } from "astro:content"; const allFragments = await getCollection("fragment"); const allSets = await getCollection("fragmentSet"); type Fragment = (typeof allFragments)[0]; type FragmentProps = { f: Fragment; ix: number; }; const { f, ix } = Astro.props as FragmentProps; ---

{f.data.title}

{f.data.preview}