aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/taxonomy.html
diff options
context:
space:
mode:
authorKeith Mo <keith.mork@gmail.com>2018-06-01 00:10:36 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-06-01 00:10:36 +0800
commit6766e09744896fec27c3c49895defa78f2a2aede (patch)
tree713c8ee12f53bb0b997ccae5c7cfb633cd455829 /layouts/_default/taxonomy.html
parent9033266c2f02e570658a9505c26b7a438030f664 (diff)
fix(section): remove hard coded `section` (#67)
Close #67
Diffstat (limited to 'layouts/_default/taxonomy.html')
-rw-r--r--layouts/_default/taxonomy.html4
1 files changed, 2 insertions, 2 deletions
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 }}
<section id="archive" class="archive">
{{ if not $paginator.HasPrev }}
{{ if eq .Data.Plural "tags" }}
@@ -43,4 +43,4 @@
</a>
{{- end }}
</nav>
-{{ end }} \ No newline at end of file
+{{ end }}