theme/templates/translations.html

Wed, 16 Oct 2019 21:51:04 +0200

author
David Douard <david.douard@sdfa3.org>
date
Wed, 16 Oct 2019 21:51:04 +0200
changeset 112
534da25d732e
parent 36
9507107a1133
permissions
-rw-r--r--

Add a who section in why.rst

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