{% if path_options is not defined %}
{% set path_options = {} %}
{% endif %}
<li class="nav-item">
<a href="{{ path(path_name, path_options) }}" aria-expanded="false" class="menu-link nav-link {% if app.request.get('_route') == path_name %}active{% endif %}" > <i class="{{ icon }}"></i>{{ label|raw }} </a>
</li>