theme/templates/translations.html

Tue, 15 Mar 2016 16:23:38 +0100

author
David Douard <david.douard@logilab.fr>
date
Tue, 15 Mar 2016 16:23:38 +0100
changeset 40
2a30ebfd851f
parent 36
9507107a1133
permissions
-rw-r--r--

[base] add piwik js stuff

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