From 8841129b65ec8baa528da57272023638f903a65e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jun 2020 15:37:47 +0200 Subject: splay translation link for translated pages too. --- templates/page.html | 5 +++++ 1 file changed, 5 insertions(+) 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 -%}
-- cgit v1.2.3