From 9f080377e737de21e4c2ff187d9eac43fbab20cc Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 7 Jan 2023 20:40:46 -0600 Subject: [PATCH] Allow adding descriptions to taxonomies --- layouts/taxonomy/list.html | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 4689fa0..ca6991a 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -1,15 +1,21 @@ {{ define "main" }} -

- {{ if eq .Data.Singular "tag" }} - {{ partial "icon.html" "tag" }} - {{ else if eq .Data.Singular "category" }} - {{ partial "icon.html" "folder" }} - {{ else }} - {{ partial "icon.html" "filter" }} - {{ end }} +
+

+ {{ if eq .Data.Singular "tag" }} + {{ partial "icon.html" "tag" }} + {{ else if eq .Data.Singular "category" }} + {{ partial "icon.html" "folder" }} + {{ else }} + {{ partial "icon.html" "filter" }} + {{ end }} - {{ .Title | markdownify }} -

+ {{ .Title | markdownify }} +

+ + + {{ with .Content }} + {{ . }} + {{ end }}
{{ with .Data.Terms.Alphabetical }}