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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index c19f4f7..5fb0703 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -1,5 +1,5 @@
-{{ $pages := where .Pages "Type" "not in" (slice "about") }}
-{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
+{{ $pages := where .Pages "Params.hidden" "ne" true }}
+{{ $paginator := .Paginate (where $pages "Type" "posts") }}
{{ range $paginator.Pages }}
<div class="post animated fadeInDown">
<div class="post_title">