From c306070aeed76cb98d9cc2eb36fd469b624af6eb Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Wed, 19 Sep 2018 20:35:24 +0200 Subject: Fix reading language from config and include default language code .Site.Language is actually an object used for multilingual websites. The correct one to use is .Site.LanguageCode. See https://gohugo.io/variables/site/#site-variables-list Also included a default language code, and fixed an HTML syntax error. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ea0bd00..21e7320 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@ - + {{ partial "head.html" . }} -- cgit v1.2.3