theme/templates/translations.html

Fri, 02 Mar 2018 01:12:22 +0100

author
David Douard <david.douard@logilab.fr>
date
Fri, 02 Mar 2018 01:12:22 +0100
changeset 89
bd9525c3801a
parent 36
9507107a1133
permissions
-rw-r--r--

[eip545b] more pics

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