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

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post-list.html')
-rw-r--r--layouts/partials/post-list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html
index 732bc9c..0c9b8fe 100644
--- a/layouts/partials/post-list.html
+++ b/layouts/partials/post-list.html
@@ -1,7 +1,7 @@
-{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
+{{ $pag := .Paginate (where .RegularPages "Type" "in" .Site.Params.mainSections) }}
<ul class="posts">
- {{ range $paginator.Pages }}
+ {{ range $pag.Pages }}
{{ $pageDate := "" }}