2016-03-10 19:06:59 +01:00
|
|
|
<div class="masthead">
|
2016-03-07 16:27:07 +01:00
|
|
|
<div class="site-name">
|
|
|
|
<a href="{{ base_path }}/">{{ site.title }}</a>
|
2016-03-21 21:01:19 +01:00
|
|
|
</div>
|
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
<div class="masthead__menu">
|
2016-03-21 21:01:19 +01:00
|
|
|
<nav id="site-nav" class="greedy-nav">
|
|
|
|
<button><div class="navicon"></div></button>
|
|
|
|
<ul class="visible-links">
|
2016-03-25 19:12:03 +01:00
|
|
|
{% for link in site.data.navigation.main %}
|
2016-03-10 19:06:59 +01:00
|
|
|
{% if link.url contains 'http' %}
|
|
|
|
{% assign domain = '' %}
|
|
|
|
{% else %}
|
|
|
|
{% assign domain = base_path %}
|
|
|
|
{% endif %}
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2016-03-21 21:01:19 +01:00
|
|
|
<ul class="hidden-links hidden"></ul>
|
2016-03-07 16:27:07 +01:00
|
|
|
</nav>
|
2016-03-21 21:01:19 +01:00
|
|
|
</div>
|
|
|
|
</div>
|