This commit is contained in:
Chaoscaot
2023-10-01 10:04:04 +02:00
parent 7728d9e177
commit e0f2702eca
49 changed files with 2589 additions and 68 deletions

14
src/content/config.ts Normal file
View File

@@ -0,0 +1,14 @@
// @ts-ignore
import { defineCollection, z } from 'astro:content';
export const pages = defineCollection({
type: "content",
schema: z.object({
title: z.string().min(1).max(80),
description: z.string().min(1).max(120),
})
})
export const collections = {
'pages': pages
}