Skip to content
Snippets Groups Projects
Unverified Commit 6086a5cc authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #390 from OpenTechFund/feature/237-menu-active-state

Update state of menu as active for any child page
parents 53f74edd d0a35fbd
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