diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index 5b86d859f7..d0ecaa26be 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -19,7 +19,7 @@ {{- end }} -{{- with or .Params.locale site.Language.LanguageCode site.Language.Lang }} +{{- with or .Params.locale site.Language.LanguageCode }} {{- end }}