From 982b7ad783f0135af08700465f0ded1a4371000f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 7 Jun 2020 15:03:23 +0200 Subject: More i18n stuff, add links languages for index. --- templates/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index c932b7c..48857c4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,6 +4,14 @@
{{ section.content | safe }}
+
+ This page is also available in: + {% for l in section.translations %} + {% if l.lang != lang %} + {{ trans(key=l.lang) }} + {% endif %} + {% endfor %} +
{% for sub in section.subsections %} -- cgit v1.2.3