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