Sha256: 29f5b1918d4bc6bba7c5e9357ffde217c4ef9a4633e434fc7f09a21515262814

Contents?: true

Size: 1.74 KB

Versions: 17

Compression:

Stored size: 1.74 KB

Contents

<ul id="navLocal" class="navbar-nav header-global__nav-local justify-content-end align-items-lg-center bg-light">
  <li class="nav-item me-auto">
    <a href="{{ page.baseurl }}" class="nav-link navbar-brand header-global__nav-local--navbar-brand">
      <h1 class="typography__nav-heading">{{ site.site_name }}</h1>
    </a>
  </li>
  {% for link in site.nav_links %}
  {% if link.button == false  %}
  <li class="js-nav-item nav-item">
    <a
      class="nav-link typography__header-global--nav-local typography__nowrap--sm links__header-global--nav-local"
      href="{% unless link.external == true %}{{page.baseurl}}{% endunless %}{{ link.link_href }}"
    >{{ link.link_text }}</a>
  </li>
  {% elsif link.dropdown %}
  <li class="nav-item dropdown">
    <a
      class="nav-link dropdown-toggle btn btn-primary buttons__dropdown btn--base-align typography__header-global--nav-local typography__header-global--nav-local-button"
      href="#" id="{{ link.link_text | downcase }}NavbarDropdown"
      role="button"
      data-bs-toggle="dropdown"
      aria-haspopup="true"
      aria-expanded="false"
    >{{ link.link_text }}</a>
    <div class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ link.link_text | downcase }}NavbarDropdown">
      {% for item in link.dropdown %}
      <a class="dropdown-item" href="{{ page.baseurl }}{{ item.href }}">{{ item.text }}</a>
      {% endfor %}
    </div>
  </li>
  {% else %}
  <li class="js-nav-item nav-item">
    <a
      href="{% unless link.external == true %}{{page.baseurl}}{% endunless %}{{ link.link_href }}"
      class="btn btn-primary typography__header-global--nav-local typography__nowrap--sm typography__header-global--nav-local-button"
    >{{ link.link_text }}</a>
  </li>
  {% endif %}
  {% endfor %}
</ul>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
kcc-gem-theme-3.9.4 _includes/nav-global-local.html
kcc-gem-theme-3.9.3 _includes/nav-global-local.html
kcc-gem-theme-3.9.2 _includes/nav-global-local.html
kcc-gem-theme-3.9.1 _includes/nav-global-local.html
kcc-gem-theme-3.9.0 _includes/nav-global-local.html
kcc-gem-theme-3.8.0 _includes/nav-global-local.html
kcc-gem-theme-3.7.10 _includes/nav-global-local.html
kcc-gem-theme-3.7.9 _includes/nav-global-local.html
kcc-gem-theme-3.7.8 _includes/nav-global-local.html
kcc-gem-theme-3.7.7 _includes/nav-global-local.html
kcc-gem-theme-3.7.6 _includes/nav-global-local.html
kcc-gem-theme-3.7.5 _includes/nav-global-local.html
kcc-gem-theme-3.7.4 _includes/nav-global-local.html
kcc-gem-theme-3.7.3 _includes/nav-global-local.html
kcc-gem-theme-3.7.2 _includes/nav-global-local.html
kcc-gem-theme-3.7.1 _includes/nav-global-local.html
kcc-gem-theme-3.7.0 _includes/nav-global-local.html