mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Fix always visible menu button in default template layout
This commit is contained in:
parent
855981d20a
commit
f522b33809
@ -1,7 +1,7 @@
|
||||
<nav class="menu">
|
||||
<div class="container">
|
||||
<a class="menu-header" href="<?= $site->uri() ?>"><?= $this->escape($site->title()) ?></a>
|
||||
<button type="button" class="button menu-toggle" data-toggle="main-menu" aria-expanded="false">☰</button>
|
||||
<button type="button" class="menu-toggle" data-toggle="main-menu" aria-expanded="false">☰</button>
|
||||
<div class="menu-list menu-collapse" id="main-menu">
|
||||
<?php foreach ($site->children()->published()->listed() as $item) : ?>
|
||||
<a class="<?= $this->classes(['menu-item', 'active' => $item->isCurrent()]) ?>" href="<?= $item->uri() ?>"><?= $this->escape($item->get('menu', $item->title())) ?></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user