diff options
author | Kai Nacke <kai@redstar.de> | 2018-03-07 10:05:13 +0300 |
---|---|---|
committer | Kai Nacke <kai@redstar.de> | 2018-03-07 10:05:13 +0300 |
commit | 9fbc5289c203c126e0720842fab9d9cb3ee4e5c5 (patch) | |
tree | 85d867e3b7177144cfdce171b66dc70c2163dcba /layouts | |
parent | 74001530ac8889e5947a559608beae9d8c27c563 (diff) |
Regard the languageCode set in the config file.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 67598f6..17cab21 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> |