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

11 lines
299 B
HTML
Raw Normal View History

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