summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/templates/index.html b/templates/index.html
index 48857c4..0296444 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,17 +1,13 @@
{% extends "base.html" %}
-{% block content %}
+{% block language %}
+{% set translations = section.translations %}
+{% include "translation-links.html" %}
+{% endblock language %}
+{% block content %}
<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 %}