From 1ec10ea5977afd2a554753056e1e899549ed9343 Mon Sep 17 00:00:00 2001 From: saibotk Date: Fri, 14 Aug 2020 19:45:41 +0200 Subject: [PATCH] Add `#` to taxonomy page This will emphasize, that you are currently looking at a filtered list of posts. --- layouts/_default/taxonomy.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 layouts/_default/taxonomy.html diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..e7e32c4 --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,33 @@ +{{ define "header" }} +{{ partialCached "header.html" . }} +{{ end }} + +{{ define "main" }} +
+

#{{ .Title }}

+ {{- if .Content }} +
+ {{ .Content }} +
+ {{- end }} + {{- range .Data.Pages.GroupByDate "2006" }} +
+
{{ .Key }}
+ +
+ {{- end }} +
+{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} +{{ end }}