From fecc9b268410c8fefcd1ca32bc4228bba9002178 Mon Sep 17 00:00:00 2001 From: GNUxeava Date: Fri, 11 Mar 2022 10:32:10 +0530 Subject: use theme --- layouts/_default/taxonomy.html | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 layouts/_default/taxonomy.html (limited to 'layouts/_default/taxonomy.html') diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..346c2bf --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,46 @@ +{{- define "title" }}{{ .Title }} ยท {{ .Site.Title }}{{ end -}} + +{{- define "content" }} +{{- $paginator := .Paginate .Data.Pages .Site.Params.archivePaginate -}} +
+ {{ if not $paginator.HasPrev -}} + {{ if eq .Data.Plural "tags" -}} +
+

{{ .Title }}

+
+ {{- else if eq .Data.Plural "categories" -}} +
+

{{ .Title }}

+
+ {{- end }} + {{- end }} + + {{ range $paginator.Pages -}} +
+ + {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} + + + + {{ .Title }} + + +
+ {{- end }} +
+ + +{{- end }} -- cgit v1.2.3