Guide_Wii/_includes/masthead.html

22 lines
837 B
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">
<button><div class="navicon"></div></button>
<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>
<ul class="hidden-links hidden"></ul>
</nav>
</div>
</div>
2016-11-23 02:29:35 +01:00
</div>