findcommonground.uk/_includes/nav.html

41 lines
1.6 KiB
HTML
Raw Normal View History

<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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 }}/">{{ site.title }}</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="{{ site.baseurl }}/">Blog</a>
</li>
{% for page in site.pages %}
{% if page.title %}
<!-- suppress all category and tag meta pages -->
2016-01-30 21:11:08 +00:00
{% if page.url contains '/meta/' %}
{% else %}
2016-02-03 10:11:48 +00:00
{% if page.url contains '404.html' %}
2016-02-03 10:13:06 +00:00
<% else %>
<li>
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
</li>
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>