theme/templates/translations.html

Thu, 05 Nov 2020 23:28:39 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 05 Nov 2020 23:28:39 +0100
changeset 129
42a19a0d1c99
parent 36
9507107a1133
permissions
-rw-r--r--

Add a few missing :alt: to images

far from being done everywhere however...

{% 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