diff options
| -rw-r--r-- | config.toml | 1 | ||||
| -rw-r--r-- | 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 @@ </header> <div class="container"> <div class="row"> - {{ range $section, $p := .Site.Sections }} + {{ range .Site.Menus.main }} <div class="one-half column"> - <a class="button" href="/{{ $section }}/">{{ $section }}</a> + <a class="button" href="/{{ .URL }}/">{{ .Name }}</a> </div> {{ end }} </div> |
