diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:10:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:10:56 +0200 |
| commit | d23f26c2496bc1b0002ae6ba687bc065c270e1df (patch) | |
| tree | 64a46da45dd98f39d7e265dc07cb655abce2092e /themes/flog/layouts/partials/header.html | |
| parent | d8bfa86934facf14226add1cc89224ce14e9a337 (diff) | |
| download | pragblog-d23f26c2496bc1b0002ae6ba687bc065c270e1df.tar.gz pragblog-d23f26c2496bc1b0002ae6ba687bc065c270e1df.zip | |
integrate smoothstate.js
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"> |
