Allow adding descriptions to taxonomies

This commit is contained in:
BBaoVanC 2023-01-07 20:40:46 -06:00
parent fb40c8a4c3
commit 9f080377e7
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -1,4 +1,5 @@
{{ define "main" }} {{ define "main" }}
<div class="post-title">
<h1> <h1>
{{ if eq .Data.Singular "tag" }} {{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }} {{ partial "icon.html" "tag" }}
@ -10,6 +11,11 @@
{{ .Title | markdownify }} {{ .Title | markdownify }}
</h1> </h1>
</div>
{{ with .Content }}
{{ . }}
{{ end }}
<div class="taxonomy-list"> <div class="taxonomy-list">
{{ with .Data.Terms.Alphabetical }} {{ with .Data.Terms.Alphabetical }}