first commit

This commit is contained in:
2017-10-05 18:23:52 +02:00
commit 3a395d8e87
41 changed files with 2087 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ genurl( translation.url, force=True ) }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}