Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
janpio committed Aug 1, 2018
1 parent b4cbcb7 commit 6b69e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
{# if current item is active #}
{% if nav_item.active %}current{% endif %}
{# if current page has ancestors and current item title prefixed with _ is identical to ancestor title (_ + Action <=> _Action) #}
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.title %}current{% endif %}{% endfor %}{% endif %}
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.title and nav_item.title != "Tools" %}current{% endif %}{% endfor %}{% endif %}
">
<a class="
{% if nav_item.active %}current{% endif %}
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.title %}current{% endif %}{% endfor %}{% endif %}
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.title and nav_item.title != "Tools" %}current{% endif %}{% endfor %}{% endif %}
" href="{{ nav_item.url }}">
{{ nav_item.title }}
</a>
Expand Down

0 comments on commit 6b69e65

Please sign in to comment.