theme/templates/translations.html

Fri, 06 Dec 2019 00:56:52 +0100

author
David Douard <david.douard@sdfa3.org>
date
Fri, 06 Dec 2019 00:56:52 +0100
changeset 123
6b5f7fb06a51
parent 36
9507107a1133
permissions
-rw-r--r--

Add images-src in hgignore

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