summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/header.html2
-rw-r--r--templates/index.html8
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/header.html b/templates/header.html
index 80e6eb5..ad0951f 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -1,4 +1,4 @@
<header id="site-header" class="site-header">
<div class="site-title">{{ config.title }}</div>
- <div class="site-description">{{ config.description }}</div>
+ <div class="site-description">{{ trans(key="description", lang=lang) }}</div>
</header>
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 %}