BirdNET-stream/www/templates/utils/nav-item.html.twig

7 lines
139 B
Twig

<li>
<a class="{{ app.request.get('_route') matches '{' ~ route ~ '_*}' ? 'active' }}"
href="{{ url }}">
{{ name }}
</a>
</li>