1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00
site/_src/_includes/menu-main.html

31 lines
937 B
HTML
Raw Normal View History

2016-01-07 20:15:09 +01:00
<nav class="menu menu--main">
<div class="row">
<div class="grid grid--full grid-small--fit grid--center">
<div class="grid__col">
<a class="menu__logo" href="/">
<svg class="logo logo--sm" aria-labelledby="title">
<title>Logo</title>
<use xlink:href="/assets/img/sprite.svg#logo"></use>
</svg>
</a>
</div>
2016-01-07 20:15:09 +01:00
<div class="grid__col">
2016-01-07 20:15:09 +01:00
{% for link in site.data.menus.main %}
2016-01-07 20:15:09 +01:00
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
<a class="menu__link" class="{{ active }}" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
</div>
2016-01-07 20:15:09 +01:00
</div>
</nav>