2016-03-10 19:06:59 +01:00
|
|
|
<div class="masthead">
|
2016-04-04 03:23:24 +02:00
|
|
|
<div class="masthead__inner-wrap">
|
|
|
|
<div class="masthead__menu">
|
|
|
|
<nav id="site-nav" class="greedy-nav">
|
2017-02-14 04:15:57 +01:00
|
|
|
<a class="site-title" href="{{ '/' | absolute_url }}">{{ site.title }}</a>
|
2016-04-04 03:23:24 +02:00
|
|
|
<ul class="visible-links">
|
|
|
|
{% for link in site.data.navigation.main %}
|
|
|
|
{% if link.url contains 'http' %}
|
|
|
|
{% assign domain = '' %}
|
2016-10-06 21:40:30 +02:00
|
|
|
{% else %}
|
|
|
|
{% assign domain = site.url | append: site.baseurl %}
|
2016-04-04 03:23:24 +02:00
|
|
|
{% endif %}
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-02-14 04:15:57 +01:00
|
|
|
<button><div class="navicon"></div></button>
|
2016-04-04 03:23:24 +02:00
|
|
|
<ul class="hidden-links hidden"></ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2016-03-21 21:01:19 +01:00
|
|
|
</div>
|
2016-04-04 03:23:24 +02:00
|
|
|
</div>
|