From a62a3e7755579d93ce3a87243dd277575930fffe Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 5 Nov 2018 21:49:16 -0500 Subject: init --- themes/even/layouts/_default/taxonomy.html | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 themes/even/layouts/_default/taxonomy.html (limited to 'themes/even/layouts/_default/taxonomy.html') diff --git a/themes/even/layouts/_default/taxonomy.html b/themes/even/layouts/_default/taxonomy.html new file mode 100644 index 0000000..d0c8d43 --- /dev/null +++ b/themes/even/layouts/_default/taxonomy.html @@ -0,0 +1,46 @@ +{{ define "title" }}{{ .Title }} ยท {{ .Site.Title }}{{ end }} + +{{ define "content"}} +{{ $paginator := .Paginate .Data.Pages.ByDate.Reverse .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