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

11 lines
314 B
HTML
Raw Permalink 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 %}">
2020-08-27 07:41:54 +02:00
<a href="{{ item.url | relative_url }}">{{ item.name }}</a>
2020-08-23 12:01:06 +02:00
</li>
{% endfor %}
2018-12-09 08:21:01 +01:00
</ul>
2020-08-23 12:01:06 +02:00
</div>