theme/templates/translations.html

Wed, 22 Jun 2016 01:20:59 +0200

author
David Douard <david.douard@logilab.fr>
date
Wed, 22 Jun 2016 01:20:59 +0200
changeset 59
cc8413dfcf14
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] part 2

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