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

github.com/JugglerX/hugo-hero-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Amos <github@eisenherzz.de>2022-02-26 21:55:36 +0300
committerGitHub <noreply@github.com>2022-02-26 21:55:36 +0300
commitebb08b2d8877fa6c23c9ef2828acb5c6187b8ed7 (patch)
tree1045a2a8b40332ae8b6478f68fb1373fc3a53625
parent8b97c4ab49722c35f0595b92ec9424dc14f693f0 (diff)
use .Site.Language.Lang
use .Site.Language.Lang instead of hardcoded html lang
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 22ef473..310903f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="{{ .Site.Language.Lang }}">
<head>
<meta charset="utf-8">
@@ -46,4 +46,4 @@
{{ partial "google-analytics.html" . }}
</body>
-</html> \ No newline at end of file
+</html>