theme/templates/translations.html

Sat, 19 Mar 2016 00:49:24 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 19 Mar 2016 00:49:24 +0100
changeset 41
376692051823
parent 36
9507107a1133
permissions
-rw-r--r--

[config] activate the filetime_from_hg plugin

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