Move posts out of src

This commit is contained in:
Cassidy Williams committed 2024-12-14 10:26:22 -06:00
1 parent 1d5278e6a2
commit 8230e397ba
7 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { defineCollection, z } from "astro:content";
import { glob } from "astro/loaders";
const posts = defineCollection({
loader: glob({ pattern: "*.md", base: "./src/posts" }),
loader: glob({ pattern: "*.md", base: "./posts" }),
schema: z.object({
title: z.string(),
slug: z.string(),