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 }}