datamad2017/_includes/navigation.html

31 lines
2.1 KiB
HTML
Raw Normal View History

<header id="top-header" class="top-header">
<div class="overlay white-solid"></div>
<svg id="menu-trigger" class="menu-trigger icon icon-menu visible-xs" viewBox="0 0 32 32">
2014-07-28 21:27:01 +02:00
<use xlink:href="{{ site.baseurl }}/img/sprites/sprites.svg#icon-menu"></use>
</svg>
<a href="{{ site.baseurl }}/" id="logo-header" class="logo-header">
<div class="logo logo-light"></div>
</a>
2014-07-28 21:27:01 +02:00
<nav class="st-menu st-effect" id="menu">
<div class="logo-navbar logo logo-dark visible-xs"></div>
2014-07-28 21:27:01 +02:00
<ul>
{% for navigationLink in site.navigationLinks %}
<li>
<a class="{% if navigationLink.permalink != null and page.permalink == navigationLink.permalink %}current{% endif %}" href="{% if navigationLink.permalink != null %} {{ navigationLink.permalink | prepend: site.baseurl }} {% else %} {{ navigationLink.link }} {% endif %}" {% if navigationLink.link != null %}target="_blank"{% endif %}>{{ navigationLink.text}}</a>
2014-07-28 21:27:01 +02:00
</li>
{% endfor %}
2014-07-28 21:27:01 +02:00
</ul>
<ul id="bottom-navlinks" class="bottom-navlinks visible-xs">
{% for bottomNavigationLink in site.bottomNavigationLinks %}
<li>
<a href="{% if bottomNavigationLink.permalink != null %} {{ bottomNavigationLink.permalink | prepend: site.baseurl }} {% else %} {{ bottomNavigationLink.link }} {% endif %}" {% if bottomNavigationLink.link != null %}target="_blank"{% endif %}>{{ bottomNavigationLink.text }}</a>
2014-07-28 21:27:01 +02:00
</li>
{% endfor %}
2014-07-28 21:27:01 +02:00
</ul>
{% for rightNavigationButton in site.rightNavigationButtons %}
2015-03-09 21:59:15 +01:00
<a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}>
{{ rightNavigationButton.text }}
2014-08-14 23:27:17 +02:00
</a>
{% endfor %}
2014-07-28 21:27:01 +02:00
</nav>
</header>