aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wiki
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-02 13:54:15 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-02 13:54:15 +0100
commitd5d53705c6da94e21e2ebe5fc65fa65db5cd7d9b (patch)
treee3489f516396b101cda77a19aac8b21eedc64b02 /templates/wiki
parent[Wiki] UX improvements for sidebar (diff)
[Wiki] Fix UX bug relating to current article headers
Diffstat (limited to 'templates/wiki')
-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 %}