diff options
author | smoreface <smoreface@users.noreply.github.com> | 2022-10-06 08:17:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 08:17:50 +0300 |
commit | 0a8754ea1154a8b676a550e4ea347132d42938b2 (patch) | |
tree | d729ee97791d20ebff9f25173c35487b06a5eb27 | |
parent | 3473a5e7f60270061e7cfbb94e1a1739bc87b538 (diff) |
Fix <html> element does not have a [lang] attribute (#44)
* Fix <html> element does not have a [lang] attribute
Using Site variables as suggested on the lonely 5 month old PR #37 from @jcabak
* Update layouts/_default/baseof.html
Co-authored-by: Lukas Joswiak <lukas@lukasjoswiak.com>
Co-authored-by: Lukas Joswiak <lukas@lukasjoswiak.com>
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d663ad3..0a5d1f7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang="{{ .Site.Language.Lang }}"> {{- partial "head.html" . -}} <body> {{- partial "header.html" . -}} |