Added default dir="ltr" (#307)
Added default (i.e. "ltr") value of "dir" attribute of "html" and "body" tags instead of empty.
This commit is contained in:
parent
60dfd9aa4b
commit
cb57401039
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ .Site.Language.Lang }}" dir={{ .Site.Language.LanguageDirection }}>
|
<html lang="{{ .Site.Language.Lang }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
{{ partial "docs/inject/head" . }}
|
{{ partial "docs/inject/head" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body dir={{ .Site.Language.LanguageDirection }}>
|
<body dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
|
||||||
<input type="checkbox" class="hidden toggle" id="menu-control" />
|
<input type="checkbox" class="hidden toggle" id="menu-control" />
|
||||||
<input type="checkbox" class="hidden toggle" id="toc-control" />
|
<input type="checkbox" class="hidden toggle" id="toc-control" />
|
||||||
<main class="container flex">
|
<main class="container flex">
|
||||||
|
|
Loading…
Reference in a new issue