sterzycom/site/snippets/menu.php

8 lines
269 B
PHP
Raw Normal View History

2015-11-29 20:38:31 +01:00
<nav role="navigation" class="navigation">
<ul class="menu">
2020-02-25 15:56:59 +01:00
<?php foreach($pages->listed() as $p): ?><a <?php e($p->isOpen(), ' class="active"') ?> href="<?php echo $p->url() ?>"><li><?php echo $p->title()->html() ?></li></a><?php endforeach ?>
2015-11-29 20:38:31 +01:00
</ul>
</nav>