summaryrefslogtreecommitdiff
path: root/doc/source/_templates/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/_templates/layout.html')
-rw-r--r--doc/source/_templates/layout.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html
index 27798878e..77da54a00 100644
--- a/doc/source/_templates/layout.html
+++ b/doc/source/_templates/layout.html
@@ -1,6 +1,9 @@
{% extends "!layout.html" %}
+
{% block rootrellink %}
-<li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
+ {% if pagename != 'index' %}
+ <li class="active"><a href="{{ pathto('index') }}">{{ shorttitle|e }}</a></li>
+ {% endif %}
{% endblock %}
{% block sidebarsearch %}