guide pages (why was that so easy wtf)
This commit is contained in:
10
packages/website/src/content/config.ts
Normal file
10
packages/website/src/content/config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineCollection, z } from "astro:content"
|
||||
|
||||
export const collections = {
|
||||
guides: defineCollection({
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
}),
|
||||
}),
|
||||
}
|
||||
Reference in New Issue
Block a user