diff options
Diffstat (limited to 'themes/flog/layouts/partials/header.html')
| -rw-r--r-- | themes/flog/layouts/partials/header.html | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/themes/flog/layouts/partials/header.html b/themes/flog/layouts/partials/header.html index 03331a0..5b85cdb 100644 --- a/themes/flog/layouts/partials/header.html +++ b/themes/flog/layouts/partials/header.html @@ -10,19 +10,20 @@ <title>{{ .Title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }}</title> </head> <body style="background: url(/background.jpg);" data-speed="5"> - <header> - <nav class="teal lighten-2"> - <div class="nav-wrapper"> - <a href="/" class="brand-logo center">{{ .Title }}</a> - <ul class="left"> - {{ $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> - </li> - {{ end }} - <ul> - </div> - </nav> - </header> - <div class="container"> + <div id="main"> + <header> + <nav class="teal lighten-2"> + <div class="nav-wrapper"> + <a href="/" class="brand-logo center">{{ .Title }}</a> + <ul class="left"> + {{ $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> + </li> + {{ end }} + <ul> + </div> + </nav> + </header> + <div class="container"> |
