theme/templates/translations.html@c5adcccbd4cf
theme/templates/translations.html
Wed, 11 Apr 2018 23:16:49 +0200
- author
- David Douard <david.douard@logilab.fr>
- date
- Wed, 11 Apr 2018 23:16:49 +0200
- changeset 94
- c5adcccbd4cf
- parent 36
-
9507107a1133
- permissions
- -rw-r--r--
[conf] disable the assets plugin
unused and make pelican fail due to missing config variables.
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}