theme/templates/translations.html@33cd55d481ba
theme/templates/translations.html
Wed, 16 Oct 2019 21:52:38 +0200
- author
- David Douard <david.douard@sdfa3.org>
- date
- Wed, 16 Oct 2019 21:52:38 +0200
- changeset 114
- 33cd55d481ba
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
theme: add support for rss feed
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}