Do not show hidden pages.

This commit is contained in:
2026-01-09 14:17:31 -07:00
parent 41f9982bb5
commit 11ac8ee428

View File

@@ -16,7 +16,7 @@
<div class="post-year">{{ .Key }}</div>
<ul class="posts-list">
{{ range .Pages }}
{{ range (where .Pages ".Params.hidden" "!=" "true") }}
<!-- tbd: if marked Hidden or Release is in the future, skip. -->
@@ -81,3 +81,7 @@
{{ partial "pagination-list.html" . }}
</main>
{{ end }}
{{ partial "pagination-list.html" . }}
</main>
{{ end }}