Skip to content
Snippets Groups Projects
Commit 276ca113 authored by codecraft's avatar codecraft :crocodile:
Browse files

add commata between author names

parent 8a802a32
No related branches found
No related tags found
1 merge request!45Author cards
<div class="columns">
<div class="column">
<div class="column is-two-fifths">
{% set authors_data = load_data(path="authors.json") -%}
{% for author in post.authors -%}
<figure class="image is-48x48 is-inline-block" style="margin-right: -30px;">
......@@ -17,10 +17,16 @@
{% endfor %}
</div>
<ul class="column is-three-fifths">
<div class="title is-5">
{% for author in post.authors -%}
<li class="title is-5 is-inline mr-3">
<p class="is-inline">
{{ authors_data[author].display_name }}
</li>
{% if not loop.last %}
,
{% endif %}
</p>
{% endfor %}
</div>
</ul>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment