Skip to content

Commit

Permalink
"activePage" as a active class for web pages
Browse files Browse the repository at this point in the history
  • Loading branch information
psdwebdesigns committed Aug 28, 2018
1 parent 31365c7 commit 6432726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/components/common/navigation-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{{#unless theme_settings.hide_content_navigation}}
{{#each pages}}
<li class="navPages-item navPages-item-page">
<a class="navPages-action" href="{{url}}">{{name}}</a>
<a class="navPages-action{{#if name '==' ../page.title}} activePage{{/if}}" href="{{url}}">{{name}}</a>
</li>
{{/each}}
{{/unless}}
Expand Down

0 comments on commit 6432726

Please sign in to comment.