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,15 +1,21 @@
{{ define "main" }} {{ define "main" }}
<h1> <div class="post-title">
{{ if eq .Data.Singular "tag" }} <h1>
{{ partial "icon.html" "tag" }} {{ if eq .Data.Singular "tag" }}
{{ else if eq .Data.Singular "category" }} {{ partial "icon.html" "tag" }}
{{ partial "icon.html" "folder" }} {{ else if eq .Data.Singular "category" }}
{{ else }} {{ partial "icon.html" "folder" }}
{{ partial "icon.html" "filter" }} {{ else }}
{{ end }} {{ partial "icon.html" "filter" }}
{{ end }}
{{ .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 }}