[TWIG] Adding active rules

This commit is contained in:
rainydaysavings 2020-09-05 06:36:39 +01:00 committed by Hugo Sales
parent 244aa4af08
commit 099c4220d2
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -67,7 +67,7 @@
<nav class='main-nav'>
<ul>
<li>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public') }}'>Timeline</a>
<a href="{{ path('main_public') }}" class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
</li>
</ul>
</nav>