author if 1 authors if more

This commit is contained in:
Marcell Mars 2020-12-10 03:22:54 +01:00
parent 0d7590447a
commit 1db60b2c7b
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
{{- with $.GetPage (printf "/author/%s" $v) -}}
{{- with not $k -}}
<div class="has hasauthors">
<div class="hassup">authors</div>
<div class="hassup">author{{ with $.Page.Params.authors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}</div>
<div class="afterhas">
{{- end -}}
<div class="crust">

View file

@ -1 +1 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201210015902-0bc52794a305
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201210022117-bb1565b1affc