diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-08 15:37:47 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-08 15:37:47 +0200 |
commit | 8841129b65ec8baa528da57272023638f903a65e (patch) | |
tree | 61c1ba70c3648f6d7c3592283e739a706c273dc6 /templates | |
parent | b0fbe59a4a788995537f9a0fe4db6f4cf6ba1857 (diff) | |
download | rabalderz-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.html | 5 |
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"> |