1
0
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:
Awilum
2019-02-02 02:48:51 +03:00
parent b2e933ac0d
commit 982cabf9ab

View File

@@ -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>