mirror of
https://github.com/thiloho/aurora.git
synced 2025-11-22 03:21:35 +01:00
Initial commit
This commit is contained in:
18
src/content/config.ts
Normal file
18
src/content/config.ts
Normal 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),
|
||||
}),
|
||||
}),
|
||||
};
|
||||
Reference in New Issue
Block a user