theme/templates/translations.html

Sat, 17 Sep 2016 02:08:03 +0200

author
David Douard <david.douard@logilab.fr>
date
Sat, 17 Sep 2016 02:08:03 +0200
changeset 66
70aad9a1272b
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] part 4

{% macro translations_for(article) %}
{% if article.translations %}
Translations: 
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}

mercurial