aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/terms.html
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 19:47:15 +0100
committerJulien Dessaux2021-03-11 19:47:15 +0100
commit5e6844592ad0398adf516295e317fb3866d7464e (patch)
tree3daa78a36ebd8d4fa063f00939800a9f478aaa4d /layouts/_default/terms.html
parentAdd tags to the menu and fixed formatting on tags' page (diff)
downloadwww-5e6844592ad0398adf516295e317fb3866d7464e.tar.gz
www-5e6844592ad0398adf516295e317fb3866d7464e.tar.bz2
www-5e6844592ad0398adf516295e317fb3866d7464e.zip
Several fixes
Diffstat (limited to 'layouts/_default/terms.html')
-rw-r--r--layouts/_default/terms.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 8cca470..530c6a1 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -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 }}