mirror of
https://github.com/flextype/flextype.git
synced 2025-08-13 08:34:19 +02:00
Flextype Default Theme: Menus - removed for now. We will try to have fields for menus inside menu sections.
This commit is contained in:
@@ -8,11 +8,7 @@
|
||||
</button>
|
||||
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
|
||||
<ul class="navbar-nav">
|
||||
<?php foreach (Arr::sort(Menus::get('default')['items'], 'order') as $item): ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link <?php if ($item['url'] !== '' && strpos(Http::getUriString(), $item['url']) !== false): ?>active<?php endif ?>" href="<?= Http::getBaseUrl() . '/' . $item['url'] ?>"><?= $item['title'] ?></a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user