Skip to content

Commit

Permalink
Properly separate multiple sources
Browse files Browse the repository at this point in the history
  • Loading branch information
RealOrangeOne committed Mar 12, 2024
1 parent c5e7181 commit 1a352e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
{{ super() }}

{% if page.meta.sources %}
<small>Sources: {% for source in page.meta.sources %}<a href="{{ source }}">{{ source|domain }}</a>{% endfor %}</small>
<small>
Sources:
{% for source in page.meta.sources %}
<a href="{{ source }}">{{ source|domain }}</a>{% if not loop.last %}, {% endif %}
{% endfor %}
</small>
{% endif %}
{% endblock %}

0 comments on commit 1a352e0

Please sign in to comment.