From 3915e31d43f2d223c50a2c478d312d5269934352 Mon Sep 17 00:00:00 2001 From: eishundo Date: Thu, 3 Nov 2022 16:42:30 +0000 Subject: [PATCH] - fix recent-posts.html to not display search card --- layouts/partials/sections/recent-posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/sections/recent-posts.html b/layouts/partials/sections/recent-posts.html index 1d7e566..bb1bc40 100644 --- a/layouts/partials/sections/recent-posts.html +++ b/layouts/partials/sections/recent-posts.html @@ -19,7 +19,7 @@ {{ end }}
- {{ range first $numShow (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}} + {{ range first $numShow (where (where site.RegularPages.ByDate.Reverse "Type" "posts" ) "Layout" "!=" "search") }} {{ partial "cards/recent-post.html" . }} {{ end }}