8 line
293B

  1. {% macro translations_for(article) %}
  2. {% if article.translations %}
  3. {% for translation in article.translations %}
  4. <a class="button secondary small translation-button" href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
  5. {% endfor %}
  6. {% endif %}
  7. {% endmacro %}