diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-11-08 10:22:35 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-11-08 10:22:35 +0100 |
| commit | 5d4d6b3b12149333eeb15a5a4114c025c06dfc20 (patch) | |
| tree | a94447a8ad76195baf9232c50e73bf2f7ca1cfed | |
| parent | 6fcef93f580f9f47172cdfee5453f5021bc8e88b (diff) | |
| download | pragblog-5d4d6b3b12149333eeb15a5a4114c025c06dfc20.tar.gz pragblog-5d4d6b3b12149333eeb15a5a4114c025c06dfc20.zip | |
add home to mobile menu
| -rw-r--r-- | themes/flog/layouts/partials/header.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/flog/layouts/partials/header.html b/themes/flog/layouts/partials/header.html index 8016f53..fdef850 100644 --- a/themes/flog/layouts/partials/header.html +++ b/themes/flog/layouts/partials/header.html @@ -27,6 +27,9 @@ {{ end }} </ul> <!-- menu large --> <ul id="slide-sections" class="side-nav"> + <li{{ if .IsHome }} class="active"{{ end }}> + <a href="/">home</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 }}> |
