From f08e56433fb2c92a9172787adcb33edee347bc7b Mon Sep 17 00:00:00 2001 From: Rafael Laboissière Date: Sun, 11 Dec 2022 09:55:21 +0100 Subject: Update for new upstream version (revision 3891) --- templates/translations.html | 16 ++++++++++++++++ 1 file changed, 16 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..1eec7c4 --- /dev/null +++ b/templates/translations.html @@ -0,0 +1,16 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: + {% for translation in article.translations %} + {{ translation.lang }} + {% endfor %} +{% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} +{% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} +{% endif %} +{% endmacro %} -- cgit v1.2.3