cycat-project-website/_includes/main-menu-mobile.html

11 lines
328 B
HTML

<div id="main-menu-mobile" class="main-menu-mobile">
{% assign mainmenu = site.data.menus.main | sort: 'weight' %}
<ul>
{% for item in mainmenu %}
<li class="{% if item.url == page.url %}active{% endif %}">
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</div>