aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/wiki/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html
index cbf89356..126ab4a3 100644
--- a/templates/wiki/base.html
+++ b/templates/wiki/base.html
@@ -33,7 +33,7 @@
<div class="uk-flex uk-flex-row uk-flex-1">
<div class="uk-card uk-card-body uk-flex-left uk-flex uk-card-primary">
<ul class="uk-nav-default uk-nav-parent-icon" uk-nav id="wiki-nav">
- {% if data is defined and page == "wiki.page" %}
+ {% if data is defined and current_page == "wiki.page" %}
{% if "headers" in data and data.headers %}
<li class="uk-nav-header">Contents</li>
{% for header in data.headers %}