Skip to content

Commit

Permalink
add commas for multiple authors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrandaccio committed Nov 12, 2024
1 parent 9aa21fe commit 7cddcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

<div class="inline-grid grid-cols-1 items-start w-auto">
<div class="gh-post-authors text-size-1 uppercase mb-3">
By {{#foreach authors}}<a href="{{url}}">{{name}}</a>{{/foreach}}
By {{#foreach authors}}<a href="{{url}}">{{name}}{{#if @last}}{{else}},{{/if}}</a>{{/foreach}}
</div>
<div class="gradient-line-horizontal"></div>
</div>
Expand Down

0 comments on commit 7cddcd1

Please sign in to comment.