mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-17 08:40:56 +00:00
Highlight active item in the main menu (#184)
This commit is contained in:
parent
7c30a4dcce
commit
1d5cb784c4
1 changed files with 5 additions and 1 deletions
|
|
@ -1 +1,5 @@
|
||||||
<li class="navListItem"><a class="navItem" href="{{ groupitem.url | absolute_url }}">{{ groupitem.title }}</a></li>
|
<li class="navListItem">
|
||||||
|
<a class="navItem {% if page.url == groupitem.url %} navItemActive {% endif %}" href="{{ groupitem.url | absolute_url }}">
|
||||||
|
{{ groupitem.title }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue