feat(taxonomy): custom order (#159)

Closes #157
This commit is contained in:
sarva 2020-09-10 23:22:54 +08:00 committed by GitHub
parent b4aac078ce
commit 439557fce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{{- define "title" }}{{ .Title }} · {{ .Site.Title }}{{ end -}}
{{- define "content" }}
{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate -}}
{{- $paginator := .Paginate .Data.Pages .Site.Params.archivePaginate -}}
<section id="archive" class="archive">
{{ if not $paginator.HasPrev -}}
{{ if eq .Data.Plural "tags" -}}