bobatheme/layouts/taxonomy/list.html

23 lines
556 B
HTML
Raw Normal View History

{{ define "main" }}
2021-11-21 19:43:56 -06:00
<h1>
{{ partial "icon.html" "filter" }}
2021-11-21 19:43:56 -06:00
{{ .Title | markdownify }}
</h1>
<div class="taxonomy">
{{ with .Data.Terms.Alphabetical }}
<ul>
{{ range . }}
<li>
<a href="{{ .Page.Permalink }}">{{ .Page.Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ else }}
<div>
{{ i18n "no_posts" }}
</div>
{{ end }}
2021-11-21 19:43:56 -06:00
</div>
{{ end }}