From f1b37410dd85f42d663f1eb591ac9bde567eeb47 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 17 Apr 2016 13:15:23 +0530 Subject: Template copied from pelican's simple theme. --- templates/translations.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/translations.html (limited to 'templates/translations.html') diff --git a/templates/translations.html b/templates/translations.html new file mode 100644 index 0000000..db8c372 --- /dev/null +++ b/templates/translations.html @@ -0,0 +1,9 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: +{% for translation in article.translations %} +{{ translation.lang }} +{% endfor %} +{% endif %} +{% endmacro %} + -- cgit v1.2.3