theme/templates/translations.html

Fri, 06 Dec 2019 00:59:03 +0100

author
David Douard <david.douard@sdfa3.org>
date
Fri, 06 Dec 2019 00:59:03 +0100
changeset 125
669eb33e410b
parent 36
9507107a1133
permissions
-rw-r--r--

Add a log post on opentallyligt

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