mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
tags: show tag count in tags list
This commit is contained in:
parent
71b32d13f6
commit
fc222c9e64
1 changed files with 1 additions and 1 deletions
|
@ -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" }}
|
||||
|
|
Loading…
Reference in a new issue