theme/templates/translations.html@6b6e13653348
theme/templates/translations.html
Wed, 16 Oct 2019 21:53:47 +0200
- author
- David Douard <david.douard@sdfa3.org>
- date
- Wed, 16 Oct 2019 21:53:47 +0200
- changeset 115
- 6b6e13653348
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
content: use {static} instead of {filename} in image paths
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}