Sha256: b283b8eafbf0f4384535b97fca2d0def5a6cdb72faa4f295e5ff65d44aa189c8
Contents?: true
Size: 1.93 KB
Versions: 30
Compression:
Stored size: 1.93 KB
Contents
<ul id="navGlobalBottom" class="navbar-nav header-global__nav-bottom justify-content-end header-global__navbar-nav--divider"> {% for item in site.data.navigation %} <li class="nav-item dropdown header-global__dropdown header-global__dropdown--position"> <a href="#" id="{{ item.link_text | downcase }}Dropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle header-global__nav-bottom--nav-link typography__nowrap--sm typography__header-global--nav-bottom">{{ item.link_text | capitalize }}</a> <div class="dropdown-menu header-global__dropdown-menu--full-width py-3 px-3 px-lg-5" aria-labelledby="{{ item.link_text | downcase }}Dropdown"> <div class="container"> <div class="row"> {% if item.image %} <div class="col-auto padding__col--mobile-none mr-lg-3"> <img src="{{ page.baseurl }}assets/img/kcc-placeholder.png" data-src="{{ page.baseurl }}{{ item.image.source }}" class="header-global__drodpown-menu--img img-fluid d-none d-lg-block" alt="{{ item.image.alt }}"> </div> {% endif %} <div class="col ml-lg-1"> {% if item.link_href %} {% assign site_name_lowercase = site.site_name | downcase %} <a class="dropdown-item typography__dropdown--category" href="{% if item.link_href contains site_name_lowercase %}{{ page.baseurl }}{% else %}{{ page.baseurl }}{{ item.link_href }}{% endif %}">{{ item.link_text }}</a>{% endif %} {% for link in item.dropdown %} {% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% else %}{{ page.baseurl }}{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %} {% endfor %} </div> </div> </div> </div> </li> {% endfor %} </ul>
Version data entries
30 entries across 30 versions & 1 rubygems