Commit f3d49ee1 authored by Adrian Jagusch's avatar Adrian Jagusch

Seitentitel wird jetzt in der Adressleiste (statt neben dem Projekttitel) angezeigt

parent d52d35ba
......@@ -6,7 +6,7 @@
<meta name="description" content="">
<meta name="author" content="">
<title>{{ site.title }}</title>
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}/bower_components/bootstrap/dist/css/bootstrap.min.css" type="text/css">
......
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Navigation ausklappen</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand page-scroll" href="{{ site.baseurl }}/">{{ site.title }}</a> {% for node in site.pages %} {% if page.url contains node.url and node.layout == 'categorypage'%} <a class="navbar-text" style="border-left-style: outset;text-decoration: none; text-transform: uppercase;padding-left: 5px; margin-left: 0;" href="{{ site.baseurl }}{{ node.url }}"> {{ node.title }}</a> {% endif %} {% endfor %} </div> <!-- 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"> {% 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> </a> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --></nav>
\ No newline at end of file
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Navigation ausklappen</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand page-scroll" href="{{ site.baseurl }}/">{{ site.title }}</a> </div> <!-- 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"> {% 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> </a> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --></nav>
\ No newline at end of file
......
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