theme/templates/translations.html@9507107a1133
theme/templates/translations.html
Sat, 12 Mar 2016 17:37:27 +0100
- author
- David Douard <david.douard@logilab.fr>
- date
- Sat, 12 Mar 2016 17:37:27 +0100
- changeset 36
- 9507107a1133
- permissions
- -rw-r--r--
[theme] use a personalized bricks theme
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}