diff options
| -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 }}> |
