theme/templates/translations.html

Thu, 10 Nov 2022 17:26:20 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 10 Nov 2022 17:26:20 +0100
changeset 143
9e963e155d4c
parent 36
9507107a1133
permissions
-rw-r--r--

Add missing alt attributes to images

{% macro translations_for(article) %}
{% if article.translations %}
Translations: 
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}

mercurial