I am experiencing an issue that I tough that I got sorted through this (Maintain number of post in list on Paginate with exclusion - #2 by jmooring)
in layouts\index.html
I got:
{{ $filteredPages := where .Site.RegularPages ".Params.hidden" "!=" true }}
{{ $paginator := .Paginate $filteredPages }}
{{ range $i, $e := $paginator.Pages }}
ps. I need range $i, $e
for other purpose there.
But pages with hidden: true still appearing in output.
example:
---
title: "Contact"
url: '/contact/'
page: true
hidden: true
omitDate: true
nocomment: true
hideDescription: true
rss_exclude: true
---
content
Unsure whats wrong,
any advise?
I think it may be issue with paginate cache, but I am not using anywhere else the .Paginate.