diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-11-16 14:51:34 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-11-16 14:51:34 +0100 |
| commit | 58ffe8b146d3c78ff6cd2abb102c67b32ed56164 (patch) | |
| tree | e95d6eecaba73fe0ed91dd47f38025c0e9486f8b /themes | |
| parent | 3d01df32f0d854c41e23687c71377f529ac42fba (diff) | |
| download | pragblog-58ffe8b146d3c78ff6cd2abb102c67b32ed56164.tar.gz pragblog-58ffe8b146d3c78ff6cd2abb102c67b32ed56164.zip | |
feedback: layout changes, imgs, typos
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/flog/layouts/partials/header.html | 8 |
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 }} — {{ end }}{{ .Title }}</a> + <a href="/" class="brand-logo" style="margin-left: 1rem;">{{ if not .IsHome }}<span class="hide-on-small-only">{{ .Site.Title }} — </span>{{ end }}{{ .Title }}{{ if .IsHome }}<span class="show-on-large"> — 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 --> |
