bootstrap4-theme/templates/includes/translations.html
2019-04-19 21:30:55 +03:00

9 lines
285 B
HTML

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