diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1a2ce34..f0c761b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,9 +7,7 @@

- {{ range $.Param "authors" }} - {{ . }} - {{ end }} + {{ delimit ($.Param "authors") ", " }}

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7e31f35..ad48838 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,9 +20,7 @@

- {{ range $.Param "authors" }} - {{ . }} - {{ end }} + {{ delimit ($.Param "authors") ", " }}

{{ end }}