minimo/templates/translations.html

11 lines
264 B
HTML
Raw Permalink Normal View History

2019-03-16 03:42:59 +01:00
{% macro translations_for(article) %}
{% if article.translations %}
<br>
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}