Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/LukasJoswiak/etch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmoreface <smoreface@users.noreply.github.com>2022-10-06 08:17:50 +0300
committerGitHub <noreply@github.com>2022-10-06 08:17:50 +0300
commit0a8754ea1154a8b676a550e4ea347132d42938b2 (patch)
treed729ee97791d20ebff9f25173c35487b06a5eb27
parent3473a5e7f60270061e7cfbb94e1a1739bc87b538 (diff)
Fix <html> element does not have a [lang] attribute (#44)
* Fix <html> element does not have a [lang] attribute Using Site variables as suggested on the lonely 5 month old PR #37 from @jcabak * Update layouts/_default/baseof.html Co-authored-by: Lukas Joswiak <lukas@lukasjoswiak.com> Co-authored-by: Lukas Joswiak <lukas@lukasjoswiak.com>
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d663ad3..0a5d1f7 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="{{ .Site.Language.Lang }}">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}