diff --git a/layouts/index.html b/layouts/index.html index 43c816c..87e5041 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@
{{ $pgFilter1 := where .Site.RegularPages "Draft" false }} {{ $pgFilter2 := where .Site.RegularPages "Params.date" "!=" nil }} - {{ $pgFilter3 := where .Site.RegularPages "Params.hidefromhome" "!=" true }} + {{ $pgFilter := $pgFilter1 | intersect $pgFilter2 | intersect $pgFilter3}} {{ range (.Paginate $pgFilter).Pages }}

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2a3d96d..b194a80 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,14 +2,14 @@