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

github.com/zwbetz-gh/vanilla-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 5dee9b2..33d2d4b 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,6 @@
<!doctype html>
-<html lang="en" class="h-100">
+{{ $lang := site.Language.Lang | default "en" }}
+<html lang="{{ $lang }}" class="h-100">
{{ partial "head.html" . }}
<body class="d-flex flex-column h-100">
{{ partial "nav.html" . }}