Playground
Introduction
Hier dein Text. Alles ist Markdown.
- Bullet 1
- Bullet 2
- bullet 2.1
Console.WriteLine("Hello Bernie.md");
Das ist schon der “Notizbuch”-Workflow: Datei anlegen, committen, fertig.
## 3) Content Collections aktivieren (damit Astro deine Posts kennt)
Erstelle/ändere:
**`src/content.config.ts`**
```ts
import { defineCollection, z } from "astro:content";
const blog = defineCollection({
type: "content",
schema: z.object({
title: z.string(),
description: z.string().optional(),
date: z.coerce.date().optional(),
draft: z.boolean().optional().default(false),
}),
});
export const collections = { blog };