apotheke/layouts/_default/terms.html

22 lines
563 B
HTML
Raw Normal View History

2024-05-27 21:13:51 +00:00
{{ define "main" }}
<div class="container tags-list">
<h1 class="list-title">{{ lower "tags" }}</h1>
{{if eq (len $.Site.Taxonomies.tags) 0}}
{{ i18n "nothing" }}
{{else}}
<ul class="post-tags">
{{ range $.Site.Taxonomies.tags.ByCount }}
<li class="post-tag">
<a href="/tags/{{ .Name | urlize }}/">
<div class="tag-name">{{ .Name }}</div>
<div class="tag-posts-count">{{ .Count }}</div>
</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ end }}