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/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md | 1 + website/src/content/config.ts | 1 + 2 files changed, 2 insertions(+) (limited to 'website/src/content') diff --git a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md index 8641a5d..dd456f0 100644 --- a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md +++ b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md @@ -1,5 +1,6 @@ --- title: EUHWC Toast to the Lassies 2024 +hidden: true description: >- At the EUHWC Burns meet in Ullapool last weekend, I had the last privilege of giving the Toast to 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