Properly separate multiple sources

This commit is contained in:
Jake Howard 2024-03-12 16:12:14 +00:00
parent c5e71816aa
commit 1a352e02f2
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 6 additions and 1 deletions

View File

@ -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 %}