theme/templates/translations.html

Thu, 21 Jul 2016 10:41:14 +0200

author
David Douard <david.douard@logilab.fr>
date
Thu, 21 Jul 2016 10:41:14 +0200
changeset 65
d9cdcb4576c0
parent 36
9507107a1133
permissions
-rw-r--r--

[why] typos

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