{% macro translations_for(article) %} {% if article.translations %} {% trans %}Translations{% endtrans %}: {% for translation in article.translations %} {{ translation.lang }} {% endfor %} {% endif %} {% endmacro %} {% macro entry_hreflang(entry) %} {% if entry.translations %} {% for translation in entry.translations %} {% endfor %} {% endif %} {% endmacro %}