Add smooth scrolling and move simple markdown out of directories

This commit is contained in:
thiloho
2025-04-27 06:43:35 +02:00
parent 6534a8d330
commit b1b19ac676
7 changed files with 11 additions and 34 deletions

View File

@@ -1,10 +1,6 @@
import { defineCollection, z } from "astro:content";
import { glob } from "astro/loaders";
const index = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/content/index" }),
});
const blog = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/content/blog" }),
schema: z.object({
@@ -15,8 +11,4 @@ const blog = defineCollection({
}),
});
const legal = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/content/legal" }),
});
export const collections = { index, blog, legal };
export const collections = { blog };