mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-10-31 20:35:57 +00:00
11 lines
287 B
HTML
11 lines
287 B
HTML
|
{% macro translations_for(article) %}
|
||
|
{% if article.translations %}
|
||
|
<li>Translations:
|
||
|
{% for translation in article.translations %}
|
||
|
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
|
||
|
{% if not loop.last %},{% endif %}
|
||
|
{% endfor %}
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
{% endmacro %}
|