guide page versioning

This commit is contained in:
outfoxxed 2025-07-26 19:39:33 -07:00
parent d23bfbfd00
commit e7c807ac85
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
12 changed files with 54 additions and 10 deletions

View file

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