2016-01-07 20:15:09 +01:00
|
|
|
<nav class="menu menu--footer">
|
2016-01-30 14:28:19 +01:00
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
<div class="grid grid--full grid-medium--half">
|
|
|
|
<div class="grid__col">
|
|
|
|
{% for link in site.data.menus.main %}
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
{% assign active = nil %}
|
|
|
|
{% if page.url contains link.url %}
|
|
|
|
{% assign active = 'active' %}
|
|
|
|
{% endif %}
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-30 12:10:33 +01:00
|
|
|
<a class="menu__link {{ active }}" href="{{ link.url }}">{{ link.title }}</a>
|
2016-01-07 20:15:09 +01:00
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-01-30 14:28:19 +01:00
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
<div class="grid__col">
|
|
|
|
{% for link in site.data.menus.footer %}
|
|
|
|
|
|
|
|
{% assign active = nil %}
|
|
|
|
{% if page.url contains link.url %}
|
|
|
|
{% assign active = 'active' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-01-30 12:10:33 +01:00
|
|
|
<a class="menu__link {{ active }}" href="{{ link.url }}">{{ link.title }}</a>
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2016-01-07 20:15:09 +01:00
|
|
|
</div>
|
2016-01-30 14:28:19 +01:00
|
|
|
|
2016-01-07 20:15:09 +01:00
|
|
|
</nav>
|