1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Core: default theme - fixes and refactoring #117

This commit is contained in:
Awilum
2019-06-09 01:10:05 +03:00
parent 3a2f846918
commit a328c41369

View File

@@ -36,10 +36,10 @@
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
{% for item in entries_fetch_all('', 'menu_order', 'DESC') %}
{% for item in entries_fetch_all('', 'menu_item_order', 'ASC') %}
{% if item.menu_item_title %}
<li class="nav-item">
<a class="nav-link" href="{{ base_url() }}/{{ item.menu_item_url }}">{{ item.menu_item_title }}</a>
<a class="nav-link {% if item.menu_item_url in entry.slug %}active{% endif %}" href="{{ base_url() }}/{{ item.menu_item_url }}">{{ item.menu_item_title }}</a>
</li>
{% endif %}
{% endfor %}