kestrelsnest-blog/themes/kestrel/layouts/_default/terms.html

17 lines
440 B
HTML
Raw Normal View History

2022-12-03 19:26:48 +00:00
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<ul class="tags-list">
{{ range .Data.Terms.ByCount }}
<li class="tags-list-item">
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
<a class="tags-list-item-title" href="{{ .Page.Permalink }}">
({{ .Count }})
{{ .Page.Title }}
</a>
</li>
{{ end }}
</ul>
</article>
{{ end }}