description = "Main Site Menu" == <?php function onStart() { // Determine the acive section of the site in order to customize the navigation $this['activeSection'] = explode('/', $_SERVER['REQUEST_URI'])[1]; } ?> == <button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target=".navbars" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse navbars" id="brrp"> <ul class="navbar-nav ml-auto"> <li class="nav-item {% if activeSection == '' %}active{% endif %}"> <a class="nav-link" href="/">Home {% if activeSection == '' %}<span class="sr-only">(current)</span>{% endif %}</a> </li> <li class="nav-item {% if activeSection == 'feed' %}active{% endif %}"> <a class="nav-link" href="/feed">Feed {% if activeSection == 'feed' %}<span class="sr-only">(current)</span>{% endif %}</a> </li> <li class="nav-item {% if activeSection == 'resume' %}active{% endif %}"> <a class="nav-link" href="/resume">Résumé</a> </li> </ul> </div>