summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-11-08 10:22:35 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-11-08 10:22:35 +0100
commit5d4d6b3b12149333eeb15a5a4114c025c06dfc20 (patch)
treea94447a8ad76195baf9232c50e73bf2f7ca1cfed
parent6fcef93f580f9f47172cdfee5453f5021bc8e88b (diff)
downloadpragblog-5d4d6b3b12149333eeb15a5a4114c025c06dfc20.tar.gz
pragblog-5d4d6b3b12149333eeb15a5a4114c025c06dfc20.zip
add home to mobile menu
-rw-r--r--themes/flog/layouts/partials/header.html3
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 }}>