website-pelican/themes/minimunit/templates/translations.html
2019-04-16 17:10:29 +02:00

11 lines
264 B
HTML

{% macro translations_for(article) %}
{% if article.translations %}
<br>
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}