21 lines
563 B
HTML
Executable file
21 lines
563 B
HTML
Executable file
{{ 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 }}
|