mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-16 11:41:27 +00:00
#141, Add page counters to taxonomy side menu
This commit is contained in:
parent
a33bb33f18
commit
a23d848db2
@ -6,8 +6,9 @@
|
|||||||
<strong>{{ .Title | title }}</strong>
|
<strong>{{ .Title | title }}</strong>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<li class="flex justify-between">
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
|
<span>{{ len .Pages }}</span>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user