From 952c90bbbf49e11b51b0d5fc6843b6a08156dc1d Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 11 Jun 2024 11:27:00 +0100 Subject: Can hide blog posts --- website/src/content/config.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'website/src/content/config.ts') diff --git a/website/src/content/config.ts b/website/src/content/config.ts index 58dbc00..8bcd92d 100644 --- a/website/src/content/config.ts +++ b/website/src/content/config.ts @@ -10,6 +10,7 @@ const blog = defineCollection({ type: 'content', schema: z.object({ title: z.string(), + hidden: z.optional(z.boolean()), description: z.string(), pubDate: dateSchema, updatedDate: z.optional(dateSchema), -- cgit v1.2.3