refactor: edukiak lekuz mugitzen ditu
This commit is contained in:
1 parent
eebcff2a3c
commit
c5277f34a2
27 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@ import { z } from "astro/zod";
|
||||
import { glob } from "astro/loaders";
|
||||
|
||||
const posts = defineCollection({
|
||||
loader: glob({ pattern: "*.md", base: "./posts" }),
|
||||
loader: glob({ pattern: "*.md", base: "./content/posts" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
slug: z.string(),
|
||||
@@ -18,7 +18,7 @@ const posts = defineCollection({
|
||||
});
|
||||
|
||||
const tags = defineCollection({
|
||||
loader: glob({ pattern: "*.md", base: "./tags" }),
|
||||
loader: glob({ pattern: "*.md", base: "./content/tags" }),
|
||||
});
|
||||
|
||||
export const collections = { posts, tags };
|
||||
Reference in new issue
Block a user