Initial commit

This commit is contained in:
thiloho
2023-05-18 17:31:16 +02:00
parent 88bab1f351
commit b3f4c79763
28 changed files with 1248 additions and 31 deletions

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

@@ -0,0 +1,18 @@
import { z, defineCollection } from "astro:content";
export const collections = {
home: defineCollection({
schema: z.object({
title: z.string(),
description: z.string(),
}),
}),
blog: defineCollection({
schema: z.object({
title: z.string(),
publicationDate: z.date(),
description: z.string(),
workInProgress: z.boolean().default(false),
}),
}),
};