Skip to content
Snippets Groups Projects
Commit d0a35fbd authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Update state of menu as active for any child page

parent 7d840595
No related branches found
No related tags found
No related merge requests found
<li class="nav__item" role="presentation"> <li class="nav__item" role="presentation">
{% url url as target_url%} {% url url as target_url%}
<a class="nav__link {% if target_url == request.path %}nav__link--active{% endif %}" href="{{ target_url }}" role="menuitem"> <a class="nav__link {% if target_url in request.path %}nav__link--active{% endif %}" href="{{ target_url }}" role="menuitem">
{{ name }} {{ name }}
</a> </a>
</li> </li>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment