theme/templates/translations.html

Wed, 16 Oct 2019 22:15:12 +0200

author
David Douard <david.douard@sdfa3.org>
date
Wed, 16 Oct 2019 22:15:12 +0200
changeset 116
dad9b39691de
parent 36
9507107a1133
permissions
-rw-r--r--

move custom plugins in a dedicated directory local-plugins

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