diff options
author | Austin Gebauer <34121980+austingebauer@users.noreply.github.com> | 2022-11-12 07:53:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 07:53:11 +0300 |
commit | e271af0cb291ba81ccf0a2aabc6c45d1b1e905f1 (patch) | |
tree | 4afa037ebaedbf57bb8d1e09aa7f125df6711881 | |
parent | b968ce0d7de722462b1d5139abbc19e215bbbe5a (diff) | |
parent | 9e380859863d6873dc36d34edc8a5f3da0183c9e (diff) |
Merge pull request #24 from fabianski7/patch-2
Read the languageCode variable
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 62b9784..eb0c7a3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!doctype html> -<html lang="en"> +<html lang="{{ if .Site.LanguageCode }}{{ .Site.LanguageCode }}{{ else }}en{{ end }}"> {{- partial "head.html" . -}} <body> <div id="content" class="mx-auto"> |