Add theme

This commit is contained in:
2017-07-06 21:57:36 +07:00
parent e354274c7e
commit 4a46c892fd
43 changed files with 12480 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
{% macro translations_for(article) %}
{% if article.translations %}
{% for translation in article.translations %}
<a class="button secondary small translation-button" href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}