From b2a820aaeb729babe0a85603514b06f165fd6fc8 Mon Sep 17 00:00:00 2001 From: Philip Guyton Date: Sun, 17 Mar 2024 15:25:45 +0000 Subject: [PATCH] Side bar partial fails to honour site.Params.search #60 Ensure sidebar partial honours site.Params.search, as per the header partial. --- layouts/partials/sidebar.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 6d6a71fb7..d0a5e9bc1 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,10 +1,12 @@
+ {{ if site.Params.search }} + {{ end }}
LATEST POST
{{ range first 3 ( where site.Pages "Type" "post") }}