theme/templates/translations.html@521c35556177
theme/templates/translations.html
Thu, 05 Nov 2020 22:14:33 +0100
- author
- David Douard <david.douard@sdf3.org>
- date
- Thu, 05 Nov 2020 22:14:33 +0100
- changeset 126
- 521c35556177
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
Fix the why page: only one top level title is expected
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}