Sha256: 5c55f30198dc7d945d0d47fcfc3e4d941596a7867020f50e1e15884f4163722f
Contents?: true
Size: 1.24 KB
Versions: 5
Compression:
Stored size: 1.24 KB
Contents
<div class="navbar navbar-default navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <a href="{{ site.baseurl }}/" class="navbar-brand">{{ site.name }}</a> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse" id="navbar-main"> <ul class="nav navbar-nav"> {% for nav in site.data.navbar %} {% if nav.dropdown %}<li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{ nav.label }} <span class="caret"></span></a> <ul class="dropdown-menu"> {% for page in site.pages %}<li> {% if page.url contains nav.path %} <a tabindex="-1" href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a> {% endif %} {% endfor %}</li> </ul> {% else %}<li> <a href="{{ site.baseurl }}{{ nav.path }}">{{ nav.label }}</a> {% endif %} {% endfor %}</li> </ul> </div> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems