mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 19:29:02 +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 %}
|