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

github.com/the2ne/hugo-frais.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fredon <the2ne@gmail.com>2019-08-23 16:09:21 +0300
committerOlivier Fredon <the2ne@gmail.com>2019-08-23 16:09:21 +0300
commit056db8f3285fd1c353b5d171c12c6daa1690e212 (patch)
tree55dee74d89e58849355492bb0be68897586e4564
parentaa2030381666f585f07b94c3744cd2af9831e127 (diff)
theme update for Hugo 0.57
-rw-r--r--layouts/partials/post-list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html
index 794c90f..679d965 100644
--- a/layouts/partials/post-list.html
+++ b/layouts/partials/post-list.html
@@ -1,4 +1,4 @@
-{{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Type" "post") }}
+{{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections) }}
{{ range $paginator.Pages }}
<article class="post post--preview">
<header>