tags: show tag count in tags list

This commit is contained in:
Sören Weber 2022-02-23 16:09:17 +01:00
parent 71b32d13f6
commit fc222c9e64
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -7,7 +7,7 @@
<ul>
{{- range .Data.Terms.Alphabetical }}
{{- if and .Page.Title (or (ne (.Page.Scratch.Get "relearnIsHiddenStem") true) (ne .Page.Site.Params.disableTagHiddenPages true) ) }}
<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>
<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ len .Pages }})</li>
{{- end }}
{{- else }}
{{- range sort .Pages "Title" }}