aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-05-10 15:30:17 -0700
committerBjørn Erik Pedersen <[email protected]>2024-05-14 10:24:53 +0200
commit55dea41c1ab703f13b841389c6888815a033cf86 (patch)
tree3f417825f013c9949cde76e36ffd93dd3e70b2af
parent87ab7f7ffce82f1c7a264f1f7daa97f13dc77fde (diff)
downloadhugo-55dea41c1ab703f13b841389c6888815a033cf86.tar.gz
hugo-55dea41c1ab703f13b841389c6888815a033cf86.zip
create/skeletons: Remove superfluous language code fallback
Closes #12479
-rw-r--r--create/skeletons/theme/layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/skeletons/theme/layouts/_default/baseof.html b/create/skeletons/theme/layouts/_default/baseof.html
index ce9613a2b..479c89713 100644
--- a/create/skeletons/theme/layouts/_default/baseof.html
+++ b/create/skeletons/theme/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
+<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>