Sha256: c0d698b40c2e1dba7941fd35acb7eece8652f2e3c205ff0dff4942df1395027a
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="{{ site.baseurl}}/">{% if site.title %}{{site.title}}{% else %}New Site{% endif %}</a> </div> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> {% for page in site.pages %}{% if page.navbar %} <li><a href="{{ page.url | prepend: site.baseurl}}">{{page.title}}</a></li> {% endif %}{% endfor %} <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Categories<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> {% capture categories %}{% for cat in site.categories %} {{ cat[0] }} {% endfor %}{% endcapture %}{% assign sorted_categories = categories | split:' ' | sort %}{% for cat in sorted_categories %} <li><a href="{{site.baseurl}}/categories/{{cat}}/index.html">{{cat}}</a></li>{% endfor %} </ul> </li><!-- li.dropdown --> </ul> </div><!--/.navbar-collapse --> </div> </nav>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
drink_up_doctor-0.4.0 | bootstrap-boilerplate/_includes/header.html |
drink_up_doctor-0.3.1 | bootstrap-boilerplate/_includes/header.html |