summaryrefslogtreecommitdiff
path: root/themes/flog/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/flog/layouts/partials/header.html')
-rw-r--r--themes/flog/layouts/partials/header.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/flog/layouts/partials/header.html b/themes/flog/layouts/partials/header.html
index 0f00ed9..2033873 100644
--- a/themes/flog/layouts/partials/header.html
+++ b/themes/flog/layouts/partials/header.html
@@ -14,7 +14,7 @@
<header class="navbar-fixed">
<nav class="black">
<div class="nav-wrapper">
- <a href="/" class="brand-logo" style="margin-left: 1rem;">{{ if not .IsHome }}{{ .Site.Title }} &mdash; {{ end }}{{ .Title }}</a>
+ <a href="/" class="brand-logo" style="margin-left: 1rem;">{{ if not .IsHome }}<span class="hide-on-small-only">{{ .Site.Title }} &mdash; </span>{{ end }}{{ .Title }}{{ if .IsHome }}<span class="show-on-large"> &mdash; Der Foodblog</span>{{ end }}</a>
<a href="#" data-activates="slide-sections" class="button-collapse">
<i><img src="/fonts/icons/ic_menu_white_36px.svg"></i>
</a>
@@ -22,18 +22,18 @@
{{ $active_section := (or .Section (or (and (not .IsPage) (lower .Title)) "")) }}
{{ range $section, $p := .Site.Sections }}
<li{{ if eq $active_section $section }} class="active"{{ end }}>
- <a href="/{{ $section }}/">{{ $section }}</a>
+ <a href="/{{ $section }}/" style="text-transform: capitalize;">{{ $section }}</a>
</li>
{{ end }}
</ul> <!-- menu large -->
<ul id="slide-sections" class="side-nav">
<li{{ if .IsHome }} class="active"{{ end }}>
- <a href="/">home</a>
+ <a href="/">Hauptseite</a>
</li>
{{ $active_section := (or .Section (or (and (not .IsPage) (lower .Title)) "")) }}
{{ range $section, $p := .Site.Sections }}
<li{{ if eq $active_section $section }} class="active"{{ end }}>
- <a href="/{{ $section }}/">{{ $section }}</a>
+ <a href="/{{ $section }}/" style="text-transform: capitalize;">{{ $section }}</a>
</li>
{{ end }}
</ul> <!-- menu side -->