diff --git a/layouts/404.html b/layouts/404.html index ef40405555..9703bdc5a1 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,7 @@ {{- partialCached "page-meta.hugo" . .RelPermalink }} {{- $outputFormat := partial "output-format.hugo" . }} - +
{{- partial "meta.html" . }} {{- $title := partial "pageHelper/title.hugo" (dict "page" . "fullyQualified" true "reverse" true) }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 84e1108ebe..f27f900a6a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ {{- if .Site.Params.description }} {{- warnf "UNSUPPORTED usage of 'params.description' config parameter found, move it to the frontmatter of your home page; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#600" }} {{- end }} - + {{- partial "meta.html" . }} {{- $page := . }} diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index d0ecaa26be..baf8cbb804 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -19,7 +19,7 @@ {{- end }} -{{- with or .Params.locale site.Language.LanguageCode }} +{{- with site.Language.LanguageCode }} {{- end }}