From 92335d1150bcf301fac1a1c4b86d0f0d06f30c17 Mon Sep 17 00:00:00 2001 From: Phil Bajsicki Date: Fri, 27 Sep 2024 20:45:08 +0200 Subject: [PATCH] Update... --- layouts/index.html | 2 +- layouts/partials/footer.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 @@