theme/templates/translations.html

Mon, 19 Sep 2016 00:25:06 +0200

author
David Douard <david.douard@logilab.fr>
date
Mon, 19 Sep 2016 00:25:06 +0200
changeset 69
56bcb94f6ff5
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] small update

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