theme/templates/translations.html

changeset 36
9507107a1133
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/theme/templates/translations.html	Sat Mar 12 17:37:27 2016 +0100
@@ -0,0 +1,9 @@
+{% macro translations_for(article) %}
+{% if article.translations %}
+Translations: 
+{% for translation in article.translations %}
+<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
+{% endfor %}
+{% endif %}
+{% endmacro %}
+

mercurial