Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/varkai/hugo-theme-zozo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post.html')
-rw-r--r--layouts/partials/post.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index f767ae0..2801e82 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -1,5 +1,4 @@
-{{ $pages := where .Site.RegularPages "Params.hidden" "ne" true }}
-{{ $paginator := .Paginate (where $pages "Type" "posts") }}
+{{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
{{ range $paginator.Pages }}
<div class="post animated fadeInDown">
<div class="post_title">