Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Gebauer <34121980+austingebauer@users.noreply.github.com>2022-11-12 07:53:11 +0300
committerGitHub <noreply@github.com>2022-11-12 07:53:11 +0300
commite271af0cb291ba81ccf0a2aabc6c45d1b1e905f1 (patch)
tree4afa037ebaedbf57bb8d1e09aa7f125df6711881
parentb968ce0d7de722462b1d5139abbc19e215bbbe5a (diff)
parent9e380859863d6873dc36d34edc8a5f3da0183c9e (diff)
Merge pull request #24 from fabianski7/patch-2
Read the languageCode variable
-rw-r--r--layouts/_default/baseof.html2
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">