sito-hackit-16/themes/hm15/templates/includes/translations.html

8 lines
273 B
HTML
Raw Normal View History

2015-06-01 13:31:16 +02:00
{% macro translations_for(article) %}
{% if article.translations %}
<span class="label label-default">Lang</span>
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}