summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-30 01:01:48 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-30 01:01:48 +0530
commit9acbc2c134c2052c54833d9ad63fa048694b9895 (patch)
tree70c33a71ed7cd508af1255c499883ed32abdca7a /layouts
parent0887805caf54b19e7204718d8262e09ca08467ba (diff)
baseof: use `dir` attribute instead of class
and set default dir to `auto` main(css): rm unused class
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index cd99982..f28e12b 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ .Site.Language }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
+<html lang="{{ .Site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
<head>
{{- partial "head.html" . }}
@@ -15,4 +15,4 @@
{{- partialCached "footer.html" . .Type }}
</body>
-</html> \ No newline at end of file
+</html>