Use language from configuration.

The header should use the language supplied in the configuration rather than hardcoding to english (US).
This commit is contained in:
Matthew Buckett 2016-01-02 12:42:18 +00:00
parent bf6f0a4426
commit d06d24a0a3

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<html xmlns="http://www.w3.org/1999/xhtml"{{with .Site.LanguageCode}} xml:lang="{{.}}" lang="{{.}}"{{end}}>
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">