1
0
mirror of https://github.com/ipdb/website.git synced 2024-12-30 16:47:45 +01:00
website/_src/_includes/menu-footer.html

26 lines
813 B
HTML
Raw Normal View History

2017-08-30 19:52:14 +02:00
<nav class="menu menu--footer">
<div class="grid grid--full grid-small--fit grid--gutters">
<div class="grid__col">
<a class="menu__logo" href="/">
<svg class="logo" aria-labelledby="title">
<title>Logo</title>
<use xlink:href="/assets/img/sprite.svg#logo"></use>
</svg>
</a>
</div>
<div class="grid__col">
{% for link in site.data.menus.footer %}
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
<a class="menu__link {{ active }}" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
</div>
</nav>