website-pelican/themes/2017/templates/translations.html
2020-10-20 23:09:52 +02:00

11 lines
264 B
HTML

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