From 7409ebd846650a5ef912c68067171ed655691025 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sat, 7 Mar 2026 17:29:13 +0100 Subject: [PATCH] fix: guard date in post.njk against null and use isoDate filter Co-Authored-By: Claude Sonnet 4.6 --- theme/_includes/layouts/post.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme/_includes/layouts/post.njk b/theme/_includes/layouts/post.njk index babf064..1773e0d 100644 --- a/theme/_includes/layouts/post.njk +++ b/theme/_includes/layouts/post.njk @@ -20,9 +20,9 @@ withBlogSidebar: true {% endif %}
- {% endif %} {% if category %} {# Handle both string and array categories #}