Skip to content

Commit

Permalink
Highlight the current section in the main nav
Browse files Browse the repository at this point in the history
Fixes #511
  • Loading branch information
Chasen Le Hara committed Apr 25, 2019
1 parent 55ed94e commit cef0230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/nav-links.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{#each (customSort children)}}
{{^if docObject.hide}}
{{^if (isGroup docObject)}}
<li class="{{#if (isCurrent docObject)}}current{{/if}}">
<li class="{{#if (hasOrIsCurrent docObject)}}current{{/if}}">
<a class="{{docObject.type}}"
href="{{urlTo docObject.name}}"
title="{{getLinkTitle docObject}}">
Expand Down

0 comments on commit cef0230

Please sign in to comment.