From 6766e09744896fec27c3c49895defa78f2a2aede Mon Sep 17 00:00:00 2001 From: Keith Mo Date: Fri, 1 Jun 2018 00:10:36 +0800 Subject: fix(section): remove hard coded `section` (#67) Close #67 --- layouts/_default/taxonomy.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/_default/taxonomy.html') diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index c20afb7..d0c8d43 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") .Site.Params.archivePaginate }} +{{ $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }}
{{ if not $paginator.HasPrev }} {{ if eq .Data.Plural "tags" }} @@ -43,4 +43,4 @@ {{- end }} -{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3