diff options
author | Olivier Fredon <the2ne@gmail.com> | 2019-08-23 16:09:21 +0300 |
---|---|---|
committer | Olivier Fredon <the2ne@gmail.com> | 2019-08-23 16:09:21 +0300 |
commit | 056db8f3285fd1c353b5d171c12c6daa1690e212 (patch) | |
tree | 55dee74d89e58849355492bb0be68897586e4564 | |
parent | aa2030381666f585f07b94c3744cd2af9831e127 (diff) |
theme update for Hugo 0.57
-rw-r--r-- | layouts/partials/post-list.html | 2 |
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> |