website/themes/gokarna/layouts/_default/terms.html
Hoernschen 124e58c339
All checks were successful
build-to-pages / build (push) Successful in 15s
build-to-pages / push (push) Successful in 10s
ADD hugo with pipline
2023-10-31 14:04:49 +01:00

21 lines
562 B
HTML

{{ define "main" }}
<div class="container tags-list">
<h1 class="list-title">{{ i18n "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 }}