1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 13:16:22 +00:00

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

View file

@ -39,6 +39,11 @@
{{ super() }} {{ super() }}
{% if page.meta.sources %} {% 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 %} {% endif %}
{% endblock %} {% endblock %}