website-pelican/themes/minimo/templates/translations.html

11 lines
264 B
HTML
Raw Normal View History

2019-03-23 22:29:32 +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 %}