diff options
author | Hadi Sinaee <sinaee@cs.ubc.ca> | 2021-06-13 22:49:48 +0300 |
---|---|---|
committer | Hadi Sinaee <sinaee@cs.ubc.ca> | 2021-06-13 22:49:48 +0300 |
commit | 616c59cecb0ed5c0240edd7fc25f9cc0aaa2a49f (patch) | |
tree | 6b5bc2edd632987dd928b52fb1a6bcc17b087c43 | |
parent | dc954ed0e5ad6566e1759bbf013b4602abf17875 (diff) |
chore: add lang to html
-rw-r--r-- | layouts/_default/baseof.html | 5 |
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" . -}} |