diff --git a/layouts/partials/homepage/blocks/posts_homepage.html b/layouts/partials/homepage/blocks/posts_homepage.html index 9e54e02..51d7e46 100644 --- a/layouts/partials/homepage/blocks/posts_homepage.html +++ b/layouts/partials/homepage/blocks/posts_homepage.html @@ -1,4 +1,6 @@ {{- $pages := (where .ctx.Site.RegularPages "Section" "in" .item.sections ) }} +{{- $pages := (where $pages ".Params.homepage" "ne" false ) }} + {{- if gt (len $pages) 0 }}