sito-hackit-16/themes/pelican-bootstrap3/templates/includes/translations.html
Giuliano Peraz 18fa7e0c1f Adds pelican-bootstrap3 and custom css as default theme for pelican
It adds also main.css from Dieco
2016-05-20 23:38:21 +02:00

8 lines
No EOL
273 B
HTML

{% macro translations_for(article) %}
{% if article.translations %}
<span class="label label-default">Lang</span>
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}