diff options
Diffstat (limited to 'docs_theme/nav.html')
| -rw-r--r-- | docs_theme/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 84982ff3..24304b8a 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.input_path == 'index.md' %}class="active"{% endif %}><a href="/">Home</a></li> + <li {% if current_page.title == 'Home' %}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> |
