aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-15 20:52:32 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-15 20:52:32 -0400
commitbc13df6c200ad4e7bafd8249707bc4cdef60e297 (patch)
tree506a6fbb2a67bbc814e9309c58fe4cac91f6d9ca /themes
parentefced0c5069bd5a615133a62067170df293c9fb2 (diff)
downloadpablotron.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.html2
-rw-r--r--themes/hugo-pt2021/layouts/index.html2
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>