From 6d39cee75e7ef7c5e06d1a745a32224e11d68c37 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 23 Jan 2026 23:16:45 +0800 Subject: HALF WORK! --- www-2/src/content.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www-2/src/content.config.ts') diff --git a/www-2/src/content.config.ts b/www-2/src/content.config.ts index f309aa5..f8a3aa1 100644 --- a/www-2/src/content.config.ts +++ b/www-2/src/content.config.ts @@ -2,7 +2,7 @@ import { defineCollection } from "astro:content"; import { glob } from "astro/loaders"; import { z } from "astro/zod"; -const blogs = defineCollection({ +const articles = defineCollection({ loader: glob({ pattern: "**/*.md", base: "./content" }), schema: z.object({ title: z.string(), @@ -14,4 +14,4 @@ const blogs = defineCollection({ }), }); -export const collections = { blogs }; +export const collections = { articles }; -- cgit v1.2.3