theme/templates/translations.html

Fri, 26 Jan 2018 23:32:39 +0100

author
David Douard <david.douard@logilab.fr>
date
Fri, 26 Jan 2018 23:32:39 +0100
changeset 76
aa1c62f79518
parent 36
9507107a1133
permissions
-rw-r--r--

[eip545b] part 3

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