Styled everything and build the skeleton

This commit is contained in:
2026-06-07 15:20:01 +02:00
parent 826565c922
commit 87dab6e5a1
22 changed files with 1381 additions and 51 deletions
+13
View File
@@ -0,0 +1,13 @@
import { defineCollection, z } from 'astro:content';
import { glob } from 'astro/loaders';
const posts = defineCollection({
loader: glob({ pattern: '**/*.md', base: './src/content/posts' }),
schema: z.object({
title: z.string(),
date: z.date(),
published: z.boolean().default(false),
}),
});
export const collections = { posts };