diff options
author | Florian Engel <vlow+git@turbocache3000.de> | 2021-09-05 23:32:10 +0300 |
---|---|---|
committer | Florian Engel <vlow+git@turbocache3000.de> | 2021-09-05 23:54:27 +0300 |
commit | 61ff7b0f679354094ef6adfe594b655147295ab8 (patch) | |
tree | 587463fd056bff69e2b1691ebe1644ab592b7933 | |
parent | 93723751d76311a334acd49a8e5c2571bdd3873c (diff) |
Fix broken pagination setting
-rw-r--r-- | layouts/index.html | 2 |
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" }} |