theme/templates/translations.html@ff4f2caf80e2
theme/templates/translations.html
Thu, 10 Nov 2022 16:45:50 +0100
- author
- David Douard <david.douard@sdf3.org>
- date
- Thu, 10 Nov 2022 16:45:50 +0100
- changeset 141
- ff4f2caf80e2
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
Fix a pelican warning on why.rst
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}