diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3b2a7fc..49a3121 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,10 +1,10 @@ <!DOCTYPE html> -<html lang="{{ .Site.Language.Lang }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}"> +<html lang="{{ default .Site.Language.Lang .Site.LanguageCode }}" dir="{{ default "ltr" .Site.Language.LanguageDirection }}"> <head> {{ partial "docs/html-head" . }} {{ partial "docs/inject/head" . }} </head> -<body dir="{{ .Site.Language.LanguageDirection | default "ltr" }}"> +<body dir="{{ default "ltr" .Site.Language.LanguageDirection }}"> <input type="checkbox" class="hidden toggle" id="menu-control" /> <input type="checkbox" class="hidden toggle" id="toc-control" /> <main class="container flex"> |