Do not show hidden pages.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user