theme/templates/translations.html

Sat, 16 Apr 2016 19:22:34 +0200

author
David Douard <david.douard@logilab.fr>
date
Sat, 16 Apr 2016 19:22:34 +0200
changeset 47
c2a88ad9de68
parent 36
9507107a1133
permissions
-rw-r--r--

[ZPB30A1] new blog about the ZPB30A1

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