1
0
Fork 0
web-jbeyerstedt/site/snippets/base/cont-header.php

24 lines
648 B
PHP

<?php
// -------------------------------------------
// kirby snippet FOR jannikbeyerstedt.de
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
// -------------------------------------------
?>
<header class="section">
<div class="container">
<a class="logo" href="<?php echo url() ?>">
<img src="" alt="Logo">
</a>
<nav>
<ul>
<?php foreach ($site->children()->visible() as $p) : ?>
<a href="<?php echo $p->url()?>"><li><?php echo $p->title() ?></li></a>
<?php endforeach; ?>
</ul>
</nav>
</div>
</header>