From 116d1825f55a3de24a6c097073aef48983abe6c0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 27 Apr 2019 14:41:42 +0100 Subject: [PATCH] wiki: Fix render issue when no sidebar exists Signed-off-by: Michael Tremer --- src/templates/wiki/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/wiki/page.html b/src/templates/wiki/page.html index 447a57b3..f753606c 100644 --- a/src/templates/wiki/page.html +++ b/src/templates/wiki/page.html @@ -3,7 +3,7 @@ {% block title %}{{ page.title }}{% end block %} {% block sidebar %} - {% if page.sidebar %} + {% if page and page.sidebar %}
{% raw page.sidebar.html %}
-- 2.47.3