Skip to content

Commit

Permalink
fix(layout): Fix html attribute lang to be the same value as xml:lang
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed Mar 18, 2024
1 parent 4f72a56 commit 70c1a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ slicestr .Site.LanguageCode 0 2 }}" lang="{{ .Site.LanguageCode }}">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ slicestr .Site.LanguageCode 0 2 }}" lang="{{ slicestr .Site.LanguageCode 0 2 }}">
{{- partial "head.html" . -}}
{{- block "headcontent" . }}{{- end }}
<body>
Expand Down

0 comments on commit 70c1a3a

Please sign in to comment.