layouts: Use delimit for author list to make it cleaner

This commit is contained in:
Yuki Joou 2023-05-31 19:15:21 +02:00
parent 49deea0321
commit e00bf77141
2 changed files with 2 additions and 6 deletions

View file

@ -7,9 +7,7 @@
</div>
<p class="authors">
{{ range $.Param "authors" }}
{{ . }}
{{ end }}
{{ delimit ($.Param "authors") ", " }}
</p>
</article>

View file

@ -20,9 +20,7 @@
</div>
<p class="authors">
{{ range $.Param "authors" }}
{{ . }}
{{ end }}
{{ delimit ($.Param "authors") ", " }}
</p>
</article>
{{ end }}