theme/templates/translations.html

Wed, 11 Apr 2018 23:17:04 +0200

author
David Douard <david.douard@logilab.fr>
date
Wed, 11 Apr 2018 23:17:04 +0200
changeset 95
45ec3ccb276f
parent 36
9507107a1133
permissions
-rw-r--r--

[hp8662a] typo

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