<nav id="sidebar-wrapper" class="navbar bg-ro"> <div id="menu-toggle"> <div id="menu-toggle-icon"> <i class="fas fa-2x fa-bars"></i> </div> </div> <ul class="sidebar-nav"> <li class="sidebar-spacer"></li> <li class="sidebar-brand"> <a href="{{ home_url }}" class="navbar-brand mr-10" data-umami-event="Sidebar-Logo button"> {% include 'partials/logo.html.twig' %} </a> </li> {% for page in pages.children.visible %} {% set current_page = (page.active or page.activeChild) ? 'selected' : '' %} <li class="nav-item"> <a class="nav-link" href="{{ page.url }}" {{ current_page }}>{{ page.menu }}</a> </li> {% endfor %} </ul> </nav>