feat: some shit

This commit is contained in:
2024-03-26 16:36:18 +01:00
commit f0129ecc76
31 changed files with 5074 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxEN
title: "First Post"
---
# First Post

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxDE
title: "Erster Post"
---
# Erster post

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxEN
title: "Second Post"
---
# 2. post

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxDE
title: "Zweiter Post"
---
# 2. post

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxEN
title: "Third Post"
---
# Third Post

View File

@ -0,0 +1,7 @@
---
date: 2021-01-01
author: MaxDE
title: "Dritter Post"
---
# Dritter Post

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

@ -0,0 +1,13 @@
import { defineCollection, z } from 'astro:content';
const blogCollection = defineCollection({
schema: z.object({
title: z.string(),
author: z.string(),
date: z.date()
})
});
export const collections = {
'blog': blogCollection
};