--- import { getCollection } from "astro:content"; const chapters = (await getCollection("fanfic")).filter( (entry) => (!entry.data.wip || process.env.NODE_ENV === "development") && entry.data.parent === Astro.props.name ); ---