theme/templates/translations.html

Sun, 26 Jun 2016 01:31:22 +0200

author
David Douard <david.douard@logilab.fr>
date
Sun, 26 Jun 2016 01:31:22 +0200
changeset 60
3f87af862c60
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] #2: add a link to the first post

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