mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Allow adding descriptions to taxonomies
This commit is contained in:
parent
fb40c8a4c3
commit
9f080377e7
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user