aboutsummaryrefslogtreecommitdiff
path: root/www-2/src/content.config.ts
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2026-01-23 23:16:45 +0800
committerYuqian Yang <crupest@crupest.life>2026-01-24 16:38:33 +0800
commit6d39cee75e7ef7c5e06d1a745a32224e11d68c37 (patch)
tree0f2646b569e8af6a2f464eb2755553eda0fe593b /www-2/src/content.config.ts
parent78e3e234877cb10ca1088df31e831b36fa4a12c0 (diff)
downloadcrupest-6d39cee75e7ef7c5e06d1a745a32224e11d68c37.tar.gz
crupest-6d39cee75e7ef7c5e06d1a745a32224e11d68c37.tar.bz2
crupest-6d39cee75e7ef7c5e06d1a745a32224e11d68c37.zip
HALF WORK!astro
Diffstat (limited to 'www-2/src/content.config.ts')
-rw-r--r--www-2/src/content.config.ts4
1 files changed, 2 insertions, 2 deletions
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 };