1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/theme/templates/extras/navbar.html

25 lines
893 B
HTML
Raw Permalink Normal View History

2016-05-21 21:58:01 +01:00
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
2016-08-28 16:41:15 +01:00
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-navbar">
2016-05-21 21:58:01 +01:00
<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 page-scroll" href="/">
2017-01-15 13:25:24 +00:00
{{ SITENAME }}
2016-05-21 21:58:01 +01:00
</a>
</div>
2016-08-28 16:41:15 +01:00
<div class="collapse navbar-collapse" id="main-navbar">
2016-05-21 21:58:01 +01:00
<ul class="nav navbar-nav navbar-right">
2017-01-15 13:25:24 +00:00
{% for category, articles in categories %}
{% if not category.page.hide_from_nav %}
<li><a href="/{{ category.url }}">{{ category.name }}</a></li>
{% endif %}
{% endfor %}
2016-05-21 21:58:01 +01:00
</ul>
</div>
</div>
</nav>