refactor: edukiak lekuz mugitzen ditu

This commit is contained in:
txarli committed 2026-11-19 10:46:48 +01:00
1 parent eebcff2a3c
commit c5277f34a2
27 files changed
+2 -2

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -4,7 +4,7 @@ import { z } from "astro/zod";
import { glob } from "astro/loaders"; import { glob } from "astro/loaders";
const posts = defineCollection({ const posts = defineCollection({
loader: glob({ pattern: "*.md", base: "./posts" }), loader: glob({ pattern: "*.md", base: "./content/posts" }),
schema: z.object({ schema: z.object({
title: z.string(), title: z.string(),
slug: z.string(), slug: z.string(),
@@ -18,7 +18,7 @@ const posts = defineCollection({
}); });
const tags = defineCollection({ const tags = defineCollection({
loader: glob({ pattern: "*.md", base: "./tags" }), loader: glob({ pattern: "*.md", base: "./content/tags" }),
}); });
export const collections = { posts, tags }; export const collections = { posts, tags };