Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r--layouts/_default/terms.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index efce125..86519b6 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -1,16 +1,16 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
- <ul class="posts-list">
- {{ range .Data.Terms.Alphabetical }}
- <li class="posts-list-item">
- <a class="posts-list-item-title" href="{{ .Page.Permalink }}">
+ <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>
- {{ .Count }}
+ </a>
</li>
{{ end }}
</ul>
- {{ partial "pagination.html" $ }}
</article>
{{ end }}