quickshell-web/src/content.config.ts
2025-07-22 01:46:48 -07:00

12 lines
292 B
TypeScript

import { defineCollection, z } from "astro:content";
import { glob } from "astro/loaders";
const guide = defineCollection({
loader: glob({ pattern: "**/*", base: "src/guide" }),
schema: z.object({
title: z.string(),
index: z.number(),
}),
});
export const collections = { guide };