From d545b2f1a7b578ad054bf11163120ba05e249ca8 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 16 Sep 2017 13:01:21 +0200 Subject: upgrade hugo, use 'section menu for lazy bloogers' --- config.toml | 1 + layouts/partials/header.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 4d7b14a..ada2ef1 100644 --- a/config.toml +++ b/config.toml @@ -5,6 +5,7 @@ title = "My shell is my home" pluralizelisttitles = false pygmentsuseclasses = true pygmentscodefences = true +sectionPagesMenu = "main" [params] email = "blog@schneefux.xyz" github = "schneefux" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8973521..262314a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -20,9 +20,9 @@
- {{ range $section, $p := .Site.Sections }} + {{ range .Site.Menus.main }} {{ end }}
-- cgit v1.3.1