From 381e40f2b9c87b6a9359f2c79cf4687064625288 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 30 Aug 2017 21:04:39 -0700 Subject: bootstrap 3 + pelican template repo --- theme/templates/translations.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 theme/templates/translations.html (limited to 'theme/templates/translations.html') diff --git a/theme/templates/translations.html b/theme/templates/translations.html new file mode 100644 index 0000000..db8c372 --- /dev/null +++ b/theme/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