diff --git a/i18n/en.yaml b/i18n/en.yaml index 544c95be..777fd947 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -60,6 +60,7 @@ list: no_articles: "There are no articles to list here yet." nav: + main_menu: "Main menu" scroll_to_top_title: "Scroll to top" skip_to_main: "Skip to main content" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8939fb31..4bbe6121 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,12 +19,14 @@ {{ i18n "nav.skip_to_main" }} - {{ $header := print "header/" site.Params.header.layout ".html" }} - {{ if templates.Exists ( printf "partials/%s" $header ) }} - {{ partial $header . }} - {{ else }} - {{ partial "header/basic.html" . }} - {{ end }} +
+ {{ $header := print "header/" site.Params.header.layout ".html" }} + {{ if templates.Exists ( printf "partials/%s" $header ) }} + {{ partial $header . }} + {{ else }} + {{ partial "header/basic.html" . }} + {{ end }} +
{{ block "main" . }}{{ end }} diff --git a/layouts/partials/header/basic.html b/layouts/partials/header/basic.html index 9c9c9f13..95e5de7a 100644 --- a/layouts/partials/header/basic.html +++ b/layouts/partials/header/basic.html @@ -37,30 +37,32 @@
{{ if .Site.Menus.subnavigation }} -