mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
Allow adding descriptions to taxonomies
This commit is contained in:
parent
fb40c8a4c3
commit
9f080377e7
@ -1,15 +1,21 @@
|
||||
{{ define "main" }}
|
||||
<h1>
|
||||
{{ 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 }}
|
||||
<div class="post-title">
|
||||
<h1>
|
||||
{{ 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 }}
|
||||
</h1>
|
||||
{{ .Title | markdownify }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{{ with .Content }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="taxonomy-list">
|
||||
{{ with .Data.Terms.Alphabetical }}
|
||||
|
Loading…
Reference in New Issue
Block a user