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

24 lines
893 B
HTML

<nav id="main-nav" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-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 page-scroll" href="/">
{{ SITENAME }}
</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
{% for category, articles in categories %}
{% if not category.page.hide_from_nav %}
<li><a href="/{{ category.url }}">{{ category.name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</nav>