varia.website/themes/varia/templates/translations.html

11 lines
271 B
HTML
Raw Normal View History

2017-09-12 14:56:24 +02:00
{% macro translations_for(article) %}
{% if article.translations %}
<div id="translation">
{% for translation in article.translations %}
2017-09-14 23:40:20 +02:00
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
2017-09-12 14:56:24 +02:00
{% endfor %}
</div>
{% endif %}
{% endmacro %}