add language code
2 files changed, 2 insertions(+), 1 deletion(-)
M exampleSite/config.toml → exampleSite/config.toml
@@ -1,4 +1,5 @@ baseurl = "/" +languageCode = "en-us" title = "A minimal Hugo website" theme = "hugo-xmin" googleAnalytics = ""
M layouts/partials/header.html → layouts/partials/header.html
@@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang="{{ .Site.LanguageCode }}"> <head> <meta charset="utf-8"> <title>{{ .Title }} | {{ .Site.Title }}</title>