From 3a87abf65f50327032b3cd4253e5d9e1bb44896c Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Wed, 2 Sep 2020 17:18:30 +0200 Subject: [PATCH] update taxonomy listing --- archetypes/default.md | 6 +++--- layouts/taxonomy/terms.html | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index e762517..a8c3a47 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,14 +1,14 @@ --- -title: "{{ replace .Name "-" " " | title }}" +title: "{{ replace .Name "-" " " | title }}" summary: "" img: teaser: "" domains: [] topics: [] doctypes: [] -date: {{ .Date }} +date: {{ .Date }} author: -draft: false +draft: false weight: 50 --- diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html index 88bde9c..4bb044f 100644 --- a/layouts/taxonomy/terms.html +++ b/layouts/taxonomy/terms.html @@ -13,8 +13,9 @@
- {{ range .Data.Terms.ByCount }} -
+ {{- $site := .Site }} + {{ range .Data.Terms.ByCount -}} + - {{ end }} + {{- end }}