mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 12:05:58 +00:00
Properly separate multiple sources
This commit is contained in:
parent
c5e71816aa
commit
1a352e02f2
1 changed files with 6 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue