diff options
author | Julien Dessaux | 2021-03-11 19:47:15 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 19:47:15 +0100 |
commit | 5e6844592ad0398adf516295e317fb3866d7464e (patch) | |
tree | 3daa78a36ebd8d4fa063f00939800a9f478aaa4d /layouts | |
parent | Add tags to the menu and fixed formatting on tags' page (diff) | |
download | www-5e6844592ad0398adf516295e317fb3866d7464e.tar.gz www-5e6844592ad0398adf516295e317fb3866d7464e.tar.bz2 www-5e6844592ad0398adf516295e317fb3866d7464e.zip |
Several fixes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/terms.html | 6 |
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 }} |