{% load navigation %}

{% url reverse as url %}

<li><a href="{{ url }}" class="nav-link"><code>{{ url | to_navbar_text }}</code></a></li>