From 1b53100c24b4cd40a28cac6a9f431bdc0c980ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 30 Apr 2025 15:36:32 +0200 Subject: [PATCH] don't display "LATEST POSTS" in sidebar, if there are none if content/posts/ is empty, this omits the "LATEST POSTS" header (which looks a bit weird if it is not followed by any posts) --- layouts/partials/sidebar.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 92bbd80..8a074b7 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,14 +1,16 @@