manymanymany-varia-websites/plugins/test_data/themes/notmyidea/templates/translations.html

9 lines
258 B
HTML
Raw Normal View History

2018-02-01 14:46:15 +01: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 %}