diff --git a/layouts/entry/single.html b/layouts/entry/single.html index a3965ba..29a443a 100644 --- a/layouts/entry/single.html +++ b/layouts/entry/single.html @@ -10,11 +10,11 @@ {{ if and $author .Params.coauthor }}
- Written by {{ $author.name }} + Written by {{ $author.name }} {{/* if len($coauthors) < 2 */}} {{ if lt (len $coauthors) 2 }} {{ $coauthor := index .Site.Data.authors ( .Params.coauthor | default "" ) }} - and {{ $coauthor.name }} + and {{ $coauthor.name }} {{ else }} in collaboration with {{ $length := len $coauthors }} @@ -24,7 +24,7 @@ {{ if eq $i (sub $length 1) }} and {{ end }} - {{ $coauthor.name }}{{- if lt $i (sub $length 1) -}},{{- end -}} + {{ $coauthor.name }}{{- if lt $i (sub $length 1) -}},{{- end -}} {{/* if i < (length - 1) */}} {{ end }} {{ end }} @@ -34,7 +34,7 @@ {{ else if $author }}