varia.website/themes/varia/templates/translations.html
2018-02-26 22:51:04 +01:00

11 lines
271 B
HTML

{% macro translations_for(article) %}
{% if article.translations %}
<div id="translation">
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
</div>
{% endif %}
{% endmacro %}