mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 01:46:01 +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() }}
|
||||
|
||||
{% 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 a new issue