<ul id="navbar-main-elements" class="navbar-nav">
    {{ generate_nav_html("navbar", maxdepth=1, collapse=True, includehidden=True, titles_only=True) }}
    {% for external_link in theme_external_links %}
    <li class="nav-item">
        <a class="nav-link nav-external" href="{{ external_link.url }}">{{ _(external_link.name) }}<i class="fas fa-external-link-alt"></i></a>
    </li>
    {% endfor %}
</ul>