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

11 lines
328 B
HTML
Raw Permalink Normal View History

2018-12-09 08:21:01 +01:00
<div id="main-menu-mobile" class="main-menu-mobile">
2020-08-23 12:01:06 +02:00
{% assign mainmenu = site.data.menus.main | sort: 'weight' %}
<ul>
2020-08-23 12:01:06 +02:00
{% for item in mainmenu %}
<li class="{% if item.url == page.url %}active{% endif %}">
2020-10-03 12:30:51 +02:00
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
2020-08-23 12:01:06 +02:00
</li>
{% endfor %}
</ul>
2020-10-03 12:30:51 +02:00
</div>