Guide_3DS/_includes/masthead.html

24 lines
1 KiB
HTML
Raw Normal View History

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>
<ul class="hidden-links lang-menu hidden"></ul>
<button class="lang-selector"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
<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>