diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-15 20:52:32 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-15 20:52:32 -0400 |
commit | bc13df6c200ad4e7bafd8249707bc4cdef60e297 (patch) | |
tree | 506a6fbb2a67bbc814e9309c58fe4cac91f6d9ca /themes | |
parent | efced0c5069bd5a615133a62067170df293c9fb2 (diff) | |
download | pablotron.org-bc13df6c200ad4e7bafd8249707bc4cdef60e297.tar.bz2 pablotron.org-bc13df6c200ad4e7bafd8249707bc4cdef60e297.zip |
hugo-pt2021: remove hard-coded language codes, use language code from config.toml
Diffstat (limited to 'themes')
-rw-r--r-- | themes/hugo-pt2021/layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | themes/hugo-pt2021/layouts/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/hugo-pt2021/layouts/_default/baseof.html b/themes/hugo-pt2021/layouts/_default/baseof.html index ba3c4f8..614edd0 100644 --- a/themes/hugo-pt2021/layouts/_default/baseof.html +++ b/themes/hugo-pt2021/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang='en-US'> +<html lang='{{$.Site.LanguageCode}}'> {{- partial "head.html" . -}} <body> diff --git a/themes/hugo-pt2021/layouts/index.html b/themes/hugo-pt2021/layouts/index.html index b97e43c..5b64082 100644 --- a/themes/hugo-pt2021/layouts/index.html +++ b/themes/hugo-pt2021/layouts/index.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang='en-US'> +<html lang='{{.Site.LanguageCode}}'> {{- partial "head.html" . -}} <body> |