theme/templates/translations.html

Thu, 10 Nov 2022 15:31:26 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 10 Nov 2022 15:31:26 +0100
changeset 139
926e4478f5fd
parent 36
9507107a1133
permissions
-rw-r--r--

Add a mastodon back url in the credits footer

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