manymanymany-varia-websites/theme/wisselwerking/templates/translations.html

10 lines
243 B
HTML
Raw Normal View History

2017-07-06 14:28:42 +02:00
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}