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

github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadi Sinaee <sinaee@cs.ubc.ca>2021-06-13 22:49:48 +0300
committerHadi Sinaee <sinaee@cs.ubc.ca>2021-06-13 22:49:48 +0300
commit616c59cecb0ed5c0240edd7fc25f9cc0aaa2a49f (patch)
tree6b5bc2edd632987dd928b52fb1a6bcc17b087c43
parentdc954ed0e5ad6566e1759bbf013b4602abf17875 (diff)
chore: add lang to html
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 2ae78d5..ef94fe9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,10 +1,9 @@
<!DOCTYPE html>
-<html>
+
+<html lang="{{ with .Site.LanguageCode }}{{.}}{{ else }}en-us{{end}}">
{{- partial "core/head.html" . -}}
<body class="container d-flex flex-column min-vh-100">
-
-
{{- block "main" . }}{{- end }}
{{- partial "core/footer.html" . -}}