2018-01-28 23:33:50 +01:00
|
|
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark text-uppercase">
|
2018-01-27 20:34:26 +01:00
|
|
|
<div class="container">
|
2018-01-28 00:55:19 +01:00
|
|
|
<a class="navbar-brand" href="<?php echo $site->url() ?>">
|
2018-01-27 20:34:26 +01:00
|
|
|
<span class="text-white"><?php echo $site->title() ?></span>
|
|
|
|
</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
|
|
<ul class="navbar-nav ml-auto">
|
|
|
|
<?php foreach ($staticContent as $staticPage): ?>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="<?php echo $staticPage->permalink() ?>"><?php echo $staticPage->title() ?></a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|