2013-05-24 16:25:31 +02:00
|
|
|
<div class="navigation-wrapper">
|
|
|
|
<div class="site-name">
|
|
|
|
<a href="{{ site.url }}">{{ site.title }}</a>
|
|
|
|
</div><!-- /.site-name -->
|
|
|
|
<div class="top-navigation">
|
2014-02-13 20:20:28 +01:00
|
|
|
<nav role="navigation" 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 %}
|
|
|
|
{% 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 -->
|
|
|
|
</div><!-- /.navigation-wrapper -->
|