From: Michael Tremer Date: Sat, 27 Apr 2019 13:41:42 +0000 (+0100) Subject: wiki: Fix render issue when no sidebar exists X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=116d1825f55a3de24a6c097073aef48983abe6c0;p=ipfire.org.git wiki: Fix render issue when no sidebar exists Signed-off-by: Michael Tremer --- 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 %}