squash and nuke dev
This commit is contained in:
parent
b2d43ad425
commit
f26e76c114
93 changed files with 33827 additions and 7831 deletions
|
|
@ -2,11 +2,11 @@ import { defineCollection, z } from "astro:content";
|
|||
import { glob } from "astro/loaders";
|
||||
|
||||
const guide = defineCollection({
|
||||
loader: glob({ pattern: "**/*.md", base: "src/guide" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
loader: glob({ pattern: "**/*.{md,mdx}", base: "src/guide" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
index: z.number(),
|
||||
}),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { guide };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue