theme/templates/translations.html

Sun, 18 Sep 2016 22:40:28 +0200

author
David Douard <david.douard@logilab.fr>
date
Sun, 18 Sep 2016 22:40:28 +0200
changeset 68
4fa6621fec0f
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] an article dedicted to the protocol

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