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

11 lines
314 B
HTML

<div id="main-menu" class="main-menu">
{% 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>