Several fixes

This commit is contained in:
Julien Dessaux 2021-03-11 19:47:15 +01:00
parent 56ef5f0685
commit 5e6844592a
3 changed files with 4 additions and 7 deletions

View file

@ -7,9 +7,9 @@
<h1>{{ .Title }}</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} posts</li>
{{ end }}
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} article{{ if (gt .Count 1 ) }}s{{ end }}</li>
{{ end }}
</ul>
{{ end }}