You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
{% macro translations_for(article) %}
|
|
{% if article.translations %}
|
|
<p id="list-of-translations">
|
|
This post is also available in:
|
|
{% for translation in article.translations|sort(attribute = 'lang') %}
|
|
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>{% if loop.index0 + 2 == loop.length %} and{% elif not loop.last %}, {% endif %}
|
|
{% endfor %}
|
|
</p>
|
|
{% endif %}
|
|
{% endmacro %}
|