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:
authorFlorian Engel <vlow+git@turbocache3000.de>2021-09-05 23:32:10 +0300
committerFlorian Engel <vlow+git@turbocache3000.de>2021-09-05 23:54:27 +0300
commit61ff7b0f679354094ef6adfe594b655147295ab8 (patch)
tree587463fd056bff69e2b1691ebe1644ab592b7933
parent93723751d76311a334acd49a8e5c2571bdd3873c (diff)
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" }}