Sha256: a569493e32fcbba83e887226b67a693b8e5e0a888114175a18110131b300d5e2
Contents?: true
Size: 1.37 KB
Versions: 2
Compression:
Stored size: 1.37 KB
Contents
{% assign menu-name = menu.name | split: ' => ' | first %} {% if menu.sub-menus %} <li class="nav-item dropdown" data-component="nav-items/bootstrap"> <a class="nav-link dropdown-toggle" href="{{ menu.name | split: ' => ' | last | relative_url }}" id="{{ menu-name }}-dropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-proofer-ignore> {{ site.data.i18n.catalog[menu.collection][site.lang][menu-name].title | default: menu-name }} </a> <div class="dropdown-menu" aria-labelledby="{{ menu-name }}-dropdown"> {% for sub-menu in menu.sub-menus %} {% assign sub-menu-name = sub-menu.name | split: ' => ' | first %} {% if site.links.dropdown[sub-menu-name].disabled == null %} <a class="dropdown-item" href="{{ sub-menu.name | split: ' => ' | last | relative_url }}"> {{ site.data.i18n.catalog[menu.collection][site.lang][sub-menu-name].title | default: sub-menu-name }} </a> {% endif %} {% endfor %} </div> </li> {% else %} <a class="nav-item nav-link" href="{{ menu.name | split: ' => ' | last | relative_url }}" data-component="nav-items/bootstrap"> {{ site.data.i18n.catalog[menu.collection][site.lang][menu-name].title | default: menu-name }} </a> {% endif %} <!-- <a class="nav-item nav-link active" href="#">Home <span class="sr-only">(current)</span></a> -->
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-marketing-1.0.1 | _includes/components/nav-items/bootstrap.html |
jekyll-theme-marketing-1.0.0 | _includes/components/nav-items/bootstrap.html |