add: basic blog layout

Basic Blog Layout to work on
This commit is contained in:
webfussel 2025-06-11 20:41:34 +02:00
parent 9d691974ce
commit 91b59e4ebe
15 changed files with 278 additions and 3 deletions

View file

@ -4,7 +4,13 @@ export default defineContentConfig({
collections: {
blog: defineCollection({
type: 'page',
source: 'blog/**/*.md'
source: 'blog/*.md',
schema: z.object({
excerpt: z.object({
type: z.string(),
children: z.any(),
}),
}),
}),
skills: defineCollection({