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

12 lines
283 B
HTML
Raw Normal View History

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