sterzycom/site/snippets/menu.php

8 lines
270 B
PHP
Raw Permalink Normal View History

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