diff options
author | Tory S. Anderson <torys.anderson@gmail.com> | 2020-03-04 23:01:11 +0300 |
---|---|---|
committer | Tory S. Anderson <torys.anderson@gmail.com> | 2020-03-04 23:01:11 +0300 |
commit | 12af233c7a1edb6ad278af61527fe76fe615c52c (patch) | |
tree | 4694837c5e87897720c6a79137301f494acfec27 | |
parent | 43d741e5be2b5416526e5e5212ce5407a6348e73 (diff) |
where updated for post front
-rw-r--r-- | layouts/partials/article_list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/article_list.html b/layouts/partials/article_list.html index 37d4581..e4b426e 100644 --- a/layouts/partials/article_list.html +++ b/layouts/partials/article_list.html @@ -1,4 +1,4 @@ -{{ $paginator := .Paginate (where .Data.Pages "Section" "in" .Site.Params.mainSections) }} +{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} {{ range $paginator.Pages }} <article class="article article-type-post" itemscope="" itemprop="blogPost"> <div class="article-inner"> @@ -24,4 +24,4 @@ </article> {{ end }} -{{ partial "pagination" . }}
\ No newline at end of file +{{ partial "pagination" . }} |