summaryrefslogtreecommitdiff
path: root/src/content.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/content.config.ts b/src/content.config.ts
index 5930884..c85d88e 100644
--- a/src/content.config.ts
+++ b/src/content.config.ts
@@ -37,17 +37,6 @@ const post = defineCollection({
}),
});
-const note = defineCollection({
- loader: glob({ base: "./src/content/note", pattern: "**/*.{md,mdx}" }),
- schema: baseSchema.extend({
- description: z.string().optional(),
- publishDate: z
- .string()
- .datetime({ offset: true }) // Ensures ISO 8601 format with offsets allowed (e.g. "2024-01-01T00:00:00Z" and "2024-01-01T00:00:00+02:00")
- .transform((val) => new Date(val)),
- }),
-});
-
const micro = defineCollection({
loader: pleromaLoader({
instanceUrl: "https://social.craftknight.com",
@@ -69,4 +58,4 @@ const tag = defineCollection({
}),
});
-export const collections = { post, note, tag, micro };
+export const collections = { post, tag, micro };