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>
|
</div>
|
||||||
|
|
||||||
<p class="authors">
|
<p class="authors">
|
||||||
{{ range $.Param "authors" }}
|
{{ delimit ($.Param "authors") ", " }}
|
||||||
{{ . }}
|
|
||||||
{{ end }}
|
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="authors">
|
<p class="authors">
|
||||||
{{ range $.Param "authors" }}
|
{{ delimit ($.Param "authors") ", " }}
|
||||||
{{ . }}
|
|
||||||
{{ end }}
|
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue