homebrewserver.club/themes/homebrewtheme/templates/translations.html

10 lines
243 B
HTML
Raw Permalink Normal View History

2019-06-12 15:08:48 +02:00
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}