theme/templates/translations.html@aba381b2bac9
theme/templates/translations.html
Thu, 05 Nov 2020 22:15:16 +0100
- author
- David Douard <david.douard@sdf3.org>
- date
- Thu, 05 Nov 2020 22:15:16 +0100
- changeset 128
- aba381b2bac9
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
Fix several inter-document links
and normalize use of absolute path for {static} and {filename} links.
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}