{% if not config.extra.single_page %}
    {% for nav_item in nav %} {% set path = "nav-" + loop.index | string %} {% set level = 1 %} {% include "partials/nav-item.html" %} {% endfor %}
{% endif %}