theme/templates/translations.html

Sat, 20 Jan 2018 15:40:38 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 20 Jan 2018 15:40:38 +0100
changeset 74
70f45e3ac6d0
parent 36
9507107a1133
permissions
-rw-r--r--

[eip545b] part 2

{% 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