2013-05-24 16:25:31 +02:00
|
|
|
<div class="navigation-wrapper">
|
|
|
|
<div class="site-name">
|
2014-12-22 18:25:03 +01:00
|
|
|
<a href="{{ site.url }}/">{{ site.title }}</a>
|
2013-05-24 16:25:31 +02:00
|
|
|
</div><!-- /.site-name -->
|
|
|
|
<div class="top-navigation">
|
2015-09-09 13:54:23 +02:00
|
|
|
<nav id="site-nav" class="nav">
|
2013-05-24 16:25:31 +02:00
|
|
|
<ul>
|
2014-07-31 14:48:44 +02:00
|
|
|
{% for link in site.data.navigation %}
|
2014-12-22 18:25:03 +01:00
|
|
|
{% if link.url contains 'http' %}
|
|
|
|
{% assign domain = '' %}
|
|
|
|
{% else %}
|
|
|
|
{% assign domain = site.url %}
|
|
|
|
{% endif %}
|
|
|
|
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
|
|
|
|
{% endfor %}
|
2013-05-24 16:25:31 +02:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div><!-- /.top-navigation -->
|
2015-09-09 13:54:23 +02:00
|
|
|
</div><!-- /.navigation-wrapper -->
|