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

github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormisumi <mismith0227@users.noreply.github.com>2021-09-12 15:34:17 +0300
committerGitHub <noreply@github.com>2021-09-12 15:34:17 +0300
commit61d85789b3e4aaf7305ce7c16b79e6afa12cd867 (patch)
treebbb30f7574c95f0bb15b7a77bb2603875d8ae757
parentf90168a1ac0305d5ae30d2862107e86eaa1f7c23 (diff)
parent61ff7b0f679354094ef6adfe594b655147295ab8 (diff)
Merge pull request #188 from vlow/develop
Fix broken pagination setting
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 1525501..5f2ebb4 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ partial "header.html" . }}
-{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "posts") ".Params.hidden" "!=" "true" )).Pages }}
+{{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "posts") ".Params.hidden" "!=" "true" ) .Site.Params.paginate ).Pages }}
{{if ne $index 0 }}
{{ end }}
{{ .Render "li" }}