Commit 709f897d authored by Martin Bieder's avatar Martin Bieder

Aktiven Menüpunkt hervorheben

parent 1d8b5662
......@@ -14,19 +14,17 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href="{{ site.baseurl }}/usability">Usability</a>
</li>
<li>
<a class="page-scroll" href="{{ site.baseurl }}/barrierefreiheit">Barrierefreiheit</a>
</li>
<li>
<a class="page-scroll" href="{{ site.baseurl }}/funktionalitaet">Funktionalität</a>
</li>
<li>
<a class="page-scroll" href="{{ site.baseurl }}/konventionen">Konventionen</a>
</li>
<li>
{% for node in site.pages %}
{% if node.layout != 'categorypage' %}
{% continue %}
{% endif %}
<li {% if page.url contains node.url %}class="active"{% endif %}>
<a href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>
</li>
{% endfor %}
<li {% if page.url == '/suche/' %}class="active"{% endif %}>
<a class="page-scroll" href="{{ site.baseurl }}/suche">
<span class="glyphicon glyphicon-search hidden-xs"></span>
<span class="visible-xs-inline-block">Suche</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment