theme/templates/translations.html

Thu, 10 Nov 2022 16:46:54 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 10 Nov 2022 16:46:54 +0100
changeset 142
6faac5ee8017
parent 36
9507107a1133
permissions
-rw-r--r--

Disable deprecated feed_summary plugin and update SOCIAL var

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