aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/taxonomy.html
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-01-31 22:19:44 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-01-31 22:19:44 +0800
commit7a5ee0ce2555bc1dca209ae903b86eb7b658cdb6 (patch)
treecdc1c1bd05fae32d76f0a702f2e249b5ae971286 /layouts/_default/taxonomy.html
parent8c2030327fd534e2cdb267b76ac67c04de275e63 (diff)
refactor: `archive-paginate` rename to `archivePaginate`
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index b373c7a..c20afb7 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -1,7 +1,7 @@
{{ define "title" }}{{ .Title }} ยท {{ .Site.Title }}{{ end }}
{{ define "content"}}
-{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") (index .Site.Params "archive-paginate") }}
+{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") .Site.Params.archivePaginate }}
<section id="archive" class="archive">
{{ if not $paginator.HasPrev }}
{{ if eq .Data.Plural "tags" }}