diff options
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r-- | layouts/_default/section.html | 2 |
1 files changed, 1 insertions, 1 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"> |