f %}
            {% if header.type == 'basic-mega' or header.type == 'extended-mega' %}
            <div id="{{ _section_id }}" class="bc-nav-submenu bc-megamenu bc-grid-full" aria-hidden="true">
            {% endif %}
              {% for _link in section_links %}
                {% if header.type == 'basic-mega' or header.type == 'extended-mega' %}
                <!-- wrap every 3 links in a bc-megamenu-col div -->
                {% capture modulo %}{{ forloop.index | modulo: 3 }}{% endcapture %}
     