aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/section.html2
-rw-r--r--layouts/_default/taxonomy.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 8e5edf1..09f90bb 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -1,7 +1,7 @@
{{ define "title" }}{{ T "archive" }} - {{ .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 }}
<div class="archive-title">
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" }}