theme/templates/translations.html

Thu, 12 Apr 2018 02:55:14 +0200

author
David Douard <david.douard@logilab.fr>
date
Thu, 12 Apr 2018 02:55:14 +0200
changeset 99
fd44150ec807
parent 36
9507107a1133
permissions
-rw-r--r--

[hp8662a] 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