koblog/bl-themes/popeye/php/navbar.php
2021-04-20 23:21:44 +02:00

12 lines
No EOL
369 B
PHP

<nav class="navbar sticky-top">
<div class="container">
<a class="navbar-brand" href="<?php echo $site->url() ?>"><?php echo $site->title() ?></a>
<div class="d-flex">
<!-- Static pages -->
<?php foreach ($staticContent as $tmp): ?>
<a href="<?php echo $tmp->url(); ?>"><?php echo $tmp->title(); ?></a>
<?php endforeach ?>
</div>
</div>
</nav>