summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-06-07 15:03:23 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-06-07 15:03:23 +0200
commit982b7ad783f0135af08700465f0ded1a4371000f (patch)
tree202075c63030bc9afb138be8c9143b41fe89de9a /templates/index.html
parenta19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc (diff)
downloadrabalderz-982b7ad783f0135af08700465f0ded1a4371000f.tar.gz
rabalderz-982b7ad783f0135af08700465f0ded1a4371000f.tar.bz2
rabalderz-982b7ad783f0135af08700465f0ded1a4371000f.zip
More i18n stuff, add links languages for index.
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html8
1 files changed, 8 insertions, 0 deletions
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 id="home-blurb">
{{ section.content | safe }}
</section>
+<section id="translations">
+ This page is also available in:
+ {% for l in section.translations %}
+ {% if l.lang != lang %}
+ <a href="{{ l.permalink | safe }}">{{ trans(key=l.lang) }}</a>
+ {% endif %}
+ {% endfor %}
+</section>
<section class="subsections">
{% for sub in section.subsections %}