 endif %}

    <!-- Handle sub navigation items from data -->
    {% if item.items %}
      {% for subitem in item.items %}
        {% if subitem.divider %}
          <hr>
          {% continue %}
        {% endif %}
      <a class="side-navigation__group-item" data-match-active="{{ subitem.match_active }}" href="{{ subitem.url | replace: 'version', site.version }}">{{ subitem.menu_title }}</a>
      {% endfor %}

    {% endif %}

    <!-- Handle sub nagivation from site collections -->
    {% if item.get_i