From a5a3a263218816926b2f47bcc0152d9c3fd9a5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bu=C4=9Fra=20Canata?= Date: Sat, 17 Jan 2026 23:43:23 +0300 Subject: [PATCH] Fix blog posts not appearing on site The blog utility was looking for 'publishDate' field but .mdoc files use 'date'. Updated the destructuring to read from 'date' field. This fixes the missing blog posts on https://radio.org.tr/ Co-Authored-By: Claude --- src/utils/blog.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/blog.ts b/src/utils/blog.ts index 1b0a853..6d35c70 100644 --- a/src/utils/blog.ts +++ b/src/utils/blog.ts @@ -45,7 +45,8 @@ const getNormalizedPost = async (post: CollectionEntry<'post'>): Promise = const { Content, remarkPluginFrontmatter } = await render(post); const { - publishDate: rawPublishDate = new Date(), + date: rawPublishDate = new Date(), + publishDate: rawPublishDateAlt, updateDate: rawUpdateDate, title, excerpt,