We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 735d0f0 + 04347de commit 335d574Copy full SHA for 335d574
layouts/404.html
@@ -1,5 +1,5 @@
1
<!DOCTYPE html>
2
-<html lang="en" class="js csstransforms3d">
+<html lang="{{ .Page.Language | default "en" }}" class="js csstransforms3d">
3
4
<head>
5
<meta charset="utf-8"> {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
0 commit comments