Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erwartungskonforme Webseiten
website
Commits
f3d49ee1
Commit
f3d49ee1
authored
Dec 07, 2015
by
Adrian Jagusch
Browse files
Seitentitel wird jetzt in der Adressleiste (statt neben dem Projekttitel) angezeigt
parent
d52d35ba
Changes
2
Show whitespace changes
Inline
Side-by-side
ew/_includes/head.html
View file @
f3d49ee1
...
...
@@ -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"
>
...
...
ew/_includes/nav.html
View file @
f3d49ee1
<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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment