From b29c913ad1f55fd23299276622703e4762c8f72a Mon Sep 17 00:00:00 2001 From: Michael Rieger Date: Wed, 8 Apr 2026 15:28:11 +0200 Subject: [PATCH] chore: remove unused files --- src/content.config.ts | 13 ------------- src/data/blog/1-hello.md | 3 --- src/layouts/BaseLayout.astro | 2 +- src/layouts/ErrorLayout.astro | 2 +- 4 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 src/content.config.ts delete mode 100644 src/data/blog/1-hello.md diff --git a/src/content.config.ts b/src/content.config.ts deleted file mode 100644 index 76db1d4..0000000 --- a/src/content.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -// 1. Import utilities from `astro:content` -import { defineCollection, z } from 'astro:content'; - -// 2. Import loader(s) -import { glob, file } from 'astro/loaders'; - -// 3. Define your collection(s) -const blog = defineCollection({ - loader: glob({ pattern: "**/*.md", base: "./src/data/blog" }), -}); - -// 4. Export a single `collections` object to register your collection(s) -export const collections = { blog }; \ No newline at end of file diff --git a/src/data/blog/1-hello.md b/src/data/blog/1-hello.md deleted file mode 100644 index fad0c37..0000000 --- a/src/data/blog/1-hello.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: My first article ---- \ No newline at end of file diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index e256a60..1d31482 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -22,7 +22,7 @@ const title = pageTitle {title} Oops, this is weird