first commit
This commit is contained in:
8
themes/fsmi-theme/templates/translations.html
Normal file
8
themes/fsmi-theme/templates/translations.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user