fixed highlighting of current site

This commit is contained in:
Tim Krehan 2019-05-23 14:19:35 +02:00
parent 1f02ec4450
commit ce1b280770

View file

@ -10,7 +10,7 @@
<div class="collapse navbar-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item <?php if($site=="list"){print_r("active");} ?>">
<li class="nav-item <?php if(($site=="list")||($site=="-1")){print_r("active");} ?>">
<a class="nav-link" href="/list"><i class="fas fa-list"></i> Liste</a>
</li>
<li class="nav-item <?php if($site=="recipes"){print_r("active");} ?>">