website-pelican/themes/minimunit/templates/translations.html

11 lines
264 B
HTML
Raw Normal View History

2019-04-16 17:10:29 +02:00
{% 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 %}