TinyLifeWeb/web/_includes/navbar.html

22 lines
859 B
HTML
Raw Normal View History

2022-05-31 21:44:35 +02:00
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light" id="navbar">
<div class="container navbar-container">
<a class="navbar-brand" href="#">
<img src="/media/icon.png" width="40" height="40" alt="The Tiny Life logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-content" aria-label="Navbar toggler">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar-content">
<div class="navbar-nav mr-auto" id="nav-items">
{% if page.nav %}
2023-06-01 23:02:09 +02:00
{% include {{ page.nav }} %}
{% elsif layout.nav %}
{% include {{ layout.nav }} %}
2022-05-31 21:44:35 +02:00
{% endif %}
</div>
</div>
</div>
2023-06-01 23:02:09 +02:00
</nav>