From 36c2ef5937c24f9f276f75ac439ec2670f33e5b3 Mon Sep 17 00:00:00 2001 From: Fish Date: Sat, 25 Mar 2017 16:38:01 -0600 Subject: pelican-striped-html5up added for pull request to origin --- pelican-striped-html5up/templates/translations.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pelican-striped-html5up/templates/translations.html (limited to 'pelican-striped-html5up/templates/translations.html') diff --git a/pelican-striped-html5up/templates/translations.html b/pelican-striped-html5up/templates/translations.html new file mode 100644 index 0000000..db8c372 --- /dev/null +++ b/pelican-striped-html5up/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