translations.html 258 B

123456789
  1. {% macro translations_for(article) %}
  2. {% if article.translations %}
  3. Translations:
  4. {% for translation in article.translations %}
  5. <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
  6. {% endfor %}
  7. {% endif %}
  8. {% endmacro %}