{% set nav_display = display|default('header') %}
{% if nav_display == 'content' %}
  <div class="gls-config-nav-content mb-3" data-gls-nav-fallback="1">
{% endif %}
<div class="page-head-tabs gls-config-nav"{% if nav_display == 'header' %} id="head_tabs"{% endif %}>
  <ul class="nav nav-pills gls-config-nav-list">
    {% for id, item in nav_items %}
      <li class="nav-item">
        <a href="{{ item.url }}" id="{{ id }}" class="nav-link tab{% if item.active %} active current{% endif %}"{% if item.active %} aria-current="page"{% endif %}>
          {{ item.label }}
        </a>
      </li>
    {% endfor %}
  </ul>
</div>
{% if nav_display == 'content' %}
  </div>
{% endif %}
