From 1a64bce2fbf4f8c430672b63c62c6b99c0ac496a Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 13 Apr 2026 08:37:56 +0100 Subject: website can get pubDate from filename instead of frontmatter --- website/src/content.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/src/content.config.ts') diff --git a/website/src/content.config.ts b/website/src/content.config.ts index bf331ba..9514c9c 100644 --- a/website/src/content.config.ts +++ b/website/src/content.config.ts @@ -44,7 +44,7 @@ const blog = defineCollection({ title: z.string(), hidden: z.optional(z.boolean()), description: z.optional(z.string()), - pubDate: z.date(), + pubDate: z.optional(z.date()), updatedDate: z.optional(z.date()), }), }); -- cgit v1.2.3