bobatheme/layouts/taxonomy/list.html

22 lines
494 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>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
2021-11-21 19:43:56 -06:00
{{ end }}
</ul>
</div>
{{ end }}