From 7a5ee0ce2555bc1dca209ae903b86eb7b658cdb6 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Wed, 31 Jan 2018 22:19:44 +0800 Subject: refactor: `archive-paginate` rename to `archivePaginate` --- layouts/_default/taxonomy.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/taxonomy.html') 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 }}
{{ if not $paginator.HasPrev }} {{ if eq .Data.Plural "tags" }} -- cgit v1.2.3