--- import Layout from "@/layouts/Layout.astro"; import { getCollection } from "astro:content"; import dayjs from "dayjs"; import utc from "dayjs/plugin/utc"; const fics = await getCollection("fics"); const chapters = await getCollection("chapters"); chapters.length = Math.min(chapters.length, 5); chapters.sort((a, b) => a.data.publishedAt.valueOf() - b.data.publishedAt.valueOf()); dayjs.extend(utc); ---

fanfics

recent updates

works