layouts: Use delimit
for author list to make it cleaner
This commit is contained in:
parent
49deea0321
commit
e00bf77141
2 changed files with 2 additions and 6 deletions
|
@ -7,9 +7,7 @@
|
|||
</div>
|
||||
|
||||
<p class="authors">
|
||||
{{ range $.Param "authors" }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
{{ delimit ($.Param "authors") ", " }}
|
||||
</p>
|
||||
</article>
|
||||
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
</div>
|
||||
|
||||
<p class="authors">
|
||||
{{ range $.Param "authors" }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
{{ delimit ($.Param "authors") ", " }}
|
||||
</p>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue