From c078c22ea39529ff8908ede08c13b17da22da545 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Wed, 18 May 2022 13:45:20 +0800 Subject: [PATCH] adjust template of taxonomy and term --- .../_default/{terms.html => taxonomy.html} | 0 layouts/_default/term.html | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+) rename layouts/_default/{terms.html => taxonomy.html} (100%) create mode 100644 layouts/_default/term.html diff --git a/layouts/_default/terms.html b/layouts/_default/taxonomy.html similarity index 100% rename from layouts/_default/terms.html rename to layouts/_default/taxonomy.html diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..393c3c1 --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,33 @@ +{{ define "main" }} + +
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

+ {{ .Key }} +

+ + {{ range .Pages }} +
+ + +
+ + {{ .Title }} + + {{ with .Params.tags }} + {{ range . }} + {{ . }} + {{ end }} + {{ end }} + +
+
+ {{ end }} + +
+ {{ end }} + +
+ +{{ end }}