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.
wagtail-website-2018-spike/templates/common/navbar.html

24 lines
964 B
HTML
Raw Permalink Normal View History

2018-07-24 21:45:21 +01:00
<nav class="navbar navbar-expand-sm navbar-dark bg-black fixed-top">
<a class="navbar-brand" href='{{ settings.BASE_URL }}'><code>/home/{{ settings.WAGTAIL_SITE_NAME|lower }}</code></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
2018-07-26 09:22:19 +01:00
{% for child in homepage.get_children.specific %}
<li class="nav-item">
<a href="{{ child.url }}" class="nav-link">
<code>~/{{ child.slug }}</code>
</a>
</li>
{% endfor %}
2018-07-24 21:45:21 +01:00
</ul>
<div class="d-none d-lg-block">
<ul class="navbar-nav">
</ul>
</div>
</div>
</nav>