Properly separate multiple sources
This commit is contained in:
parent
c5e71816aa
commit
1a352e02f2
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue