bobatheme/layouts/taxonomy/list.html

22 lines
522 B
HTML
Raw Normal View History

{{ define "main" }}
2021-11-21 19:43:56 -06:00
<h1>
{{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }}
{{ else }}
2021-11-21 19:43:56 -06:00
{{ partial "icon.html" "filter" }}
{{ end }}
2021-11-21 19:43:56 -06:00
{{ .Title | markdownify }}
</h1>
<div class="taxonomy">
<ul>
2021-11-22 02:45:28 -06:00
{{ range .Data.Terms.Alphabetical }}
<li>
2021-11-22 02:45:28 -06:00
<a href="{{ .Page.Permalink }}">{{ .Page.Title | markdownify }}</a>
</li>
2021-11-21 19:43:56 -06:00
{{ end }}
</ul>
</div>
{{ end }}