Sha256: b19e2657093c871c95f7f67ce9bc7bd8f95ae5dfc7b5e9cbeb3e16627ff5ceb0

Contents?: true

Size: 1.87 KB

Versions: 10

Compression:

Stored size: 1.87 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{% if site.nav_config.smaller_brand == true %} typography__nav-heading--smaller{% endif %}">{{ 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 | replace: ' ', '-' }}-navbar-dropdown"
      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 | replace: ' ', '-' }}-navbar-dropdown">
      {% 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

10 entries across 10 versions & 1 rubygems

Version Path
kcc-gem-theme-3.11.3 _includes/nav-global-local.html
kcc-gem-theme-3.11.1 _includes/nav-global-local.html
kcc-gem-theme-3.11.0 _includes/nav-global-local.html
kcc-gem-theme-3.10.7 _includes/nav-global-local.html
kcc-gem-theme-3.10.6 _includes/nav-global-local.html
kcc-gem-theme-3.10.5 _includes/nav-global-local.html
kcc-gem-theme-3.10.4 _includes/nav-global-local.html
kcc-gem-theme-3.10.3 _includes/nav-global-local.html
kcc-gem-theme-3.10.2 _includes/nav-global-local.html
kcc-gem-theme-3.10.1 _includes/nav-global-local.html