theme/templates/translations.html

changeset 36
9507107a1133
equal deleted inserted replaced
35:bb011397a99c 36:9507107a1133
1 {% macro translations_for(article) %}
2 {% if article.translations %}
3 Translations:
4 {% for translation in article.translations %}
5 <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
6 {% endfor %}
7 {% endif %}
8 {% endmacro %}
9

mercurial