aboutsummaryrefslogtreecommitdiffstats
path: root/docs_theme/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs_theme/nav.html')
-rw-r--r--docs_theme/nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs_theme/nav.html b/docs_theme/nav.html
index 24304b8a..ca1afc0e 100644
--- a/docs_theme/nav.html
+++ b/docs_theme/nav.html
@@ -19,7 +19,7 @@
{% if include_nav %}
<!-- Main navigation -->
<ul class="nav navbar-nav">
- <li {% if current_page.title == 'Home' %}class="active"{% endif %}><a href="/">Home</a></li>
+ <li {% if current_page.is_homepage %}class="active"{% endif %}><a href="/">Home</a></li>
{% for nav_item in nav %} {% if nav_item.children %}
<li class="dropdown{% if nav_item.active %} active{% endif %}">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ nav_item.title }} <b class="caret"></b></a>