datamad2017/_includes/navigation.html

30 lines
1.9 KiB
HTML
Raw Normal View History

<header id="top-header" class="top-header">
<svg id="menu-trigger" class="menu-trigger icon icon-menu visible-xs" viewBox="0 0 32 32" data-effect="st-effect">
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 page.permalink == navigationLink.permalink %}current{% endif %}" href="{% if navigationLink.permalink != null %} {{ navigationLink.permalink | prepend: site.baseurl }} {% else %} {{ navigationLink.link }} {% 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 %}" target="_blank">{{ 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 %}
<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" target="_blank">
{{ rightNavigationButton.text }}
2014-08-14 23:27:17 +02:00
</a>
{% endfor %}
2014-07-28 21:27:01 +02:00
</nav>
</header>