diff --git a/netlify.toml b/netlify.toml index cbfe75754ac..bd35be2407e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,5 @@ [context.deploy-preview.environment] -HUGO_VERSION = "0.40.2" +HUGO_VERSION = "0.52" [context.deploy-preview] command = "hugo --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL && echo '/docs/* /:splat' >> public/_redirects" diff --git a/themes/docsmith/layouts/_default/baseof.html b/themes/docsmith/layouts/_default/baseof.html index 6e3a1e85bdb..ca33573597a 100644 --- a/themes/docsmith/layouts/_default/baseof.html +++ b/themes/docsmith/layouts/_default/baseof.html @@ -49,7 +49,10 @@ - + {{ range .AlternativeOutputFormats -}} @@ -66,18 +69,7 @@ {{ end }} -
- {{ partial "nav" . }} - {{ if .IsHome }} -
- {{ partial "subnav" . }} -
- {{ else }} - - {{ end }} -
+ {{ partial "header" . }} {{block "main" .}}{{ end }}