From ce25ef91c66f23dfb5d2e1e933eba22f8d0eb229 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 5 Jul 2022 12:25:12 -0700 Subject: [PATCH] Add dysfunctional post hider --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index e0a21df..f383ac7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} - {{ $pagination := .Paginator }} + {{ $pagination := .Paginate (where .Site.RegularPages "Params.hidden" "!=" true) }} {{ partial "pagination.html" $pagination }} {{ if eq $pagination.PageNumber 1 }}

{{ .Title }}