2016-10-30 01:02:14 +02:00
|
|
|
<div class="masthead">
|
|
|
|
<div class="masthead__inner-wrap">
|
|
|
|
<div class="masthead__menu">
|
|
|
|
<nav id="site-nav" class="greedy-nav">
|
|
|
|
<ul class="visible-links">
|
2016-11-23 02:29:35 +01:00
|
|
|
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
|
2016-10-30 01:02:14 +02:00
|
|
|
{% for link in site.data.navigation.main %}
|
|
|
|
{% if link.url contains 'http' %}
|
|
|
|
{% assign domain = '' %}
|
2016-11-23 02:29:35 +01:00
|
|
|
{% else %}
|
|
|
|
{% assign domain = site.url | append: site.baseurl %}
|
2016-10-30 01:02:14 +02:00
|
|
|
{% endif %}
|
|
|
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-01-15 07:06:59 +01:00
|
|
|
<ul class="hidden-links links-menu hidden"></ul>
|
2017-01-15 21:26:18 +01:00
|
|
|
<!-- LANG_TODO
|
|
|
|
<ul class="hidden-links lang-menu hidden">
|
|
|
|
<li class="masthead__menu-item"><a href="{{ site.url }}{{ page.url }}">English</a></li>
|
|
|
|
<li class="masthead__menu-item"><a href="{{ site.url }}/es_ES{{ page.url }}">Español</a></li>
|
|
|
|
</ul>
|
2017-01-15 07:06:59 +01:00
|
|
|
<button class="lang-selector"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
|
2017-01-15 21:26:18 +01:00
|
|
|
-->
|
2017-01-15 07:06:59 +01:00
|
|
|
<button class="nav-selector" id="toggle-nav"><div class="navicon"></div></button>
|
2016-10-30 01:02:14 +02:00
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-23 02:29:35 +01:00
|
|
|
</div>
|