theme/templates/translations.html

Wed, 11 Apr 2018 23:48:29 +0200

author
David Douard <david.douard@logilab.fr>
date
Wed, 11 Apr 2018 23:48:29 +0200
changeset 97
891633961417
parent 36
9507107a1133
permissions
-rw-r--r--

[hp8662a] use src pictures, since using image_process plugin

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