summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-06-08 15:37:47 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-06-08 15:37:47 +0200
commit8841129b65ec8baa528da57272023638f903a65e (patch)
tree61c1ba70c3648f6d7c3592283e739a706c273dc6 /templates
parentb0fbe59a4a788995537f9a0fe4db6f4cf6ba1857 (diff)
downloadrabalderz-8841129b65ec8baa528da57272023638f903a65e.tar.gz
rabalderz-8841129b65ec8baa528da57272023638f903a65e.tar.bz2
rabalderz-8841129b65ec8baa528da57272023638f903a65e.zip
splay translation link for translated pages too.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
index 49f3cd5..6a6b280 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,4 +1,9 @@
{% extends "base.html" %}
+{% block language %}
+ {% set translations = page.translations %}
+ {% include "translation-links.html" %}
+{% endblock langauge %}
+
{% block content %}
{% set post = page -%}
<article class="post">