|
@@ -0,0 +1,10 @@
|
|
|
|
+{% macro translations_for(article) %}
|
|
|
|
+{% if article.translations %}
|
|
|
|
+<p id="list-of-translations">
|
|
|
|
+This post is also available in:
|
|
|
|
+ {% for translation in article.translations %}
|
|
|
|
+ <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>{%if not loop.last %}, {% else %}.{% endif %}
|
|
|
|
+ {% endfor %}
|
|
|
|
+</p>
|
|
|
|
+{% endif %}
|
|
|
|
+{% endmacro %}
|