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:
-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" }}