summaryrefslogtreecommitdiffstats
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 5f095c2..30d98e2 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,10 @@
-<!DOCTYPE html>
-<html lang="{{ site.LanguageCode | default site.Language.Lang }}" {{- with partialCached "func/GetLanguageDirection" "GetLanguageDirection" }} dir="{{ . }}" {{- end }} prefix="og: http://ogp.me/ns#" id="top-of-site">
+<!doctype html>
+<html lang="{{ site.Language.LanguageCode }}"
+ dir="{{ or site.Language.LanguageDirection `ltr` }}"
+ prefix="og: http://ogp.me/ns#"
+ itemscope
+ itemtype="https://schema.org/WebPage"
+ id="top-of-site">
{{ partial "head.html" . }}
<body class="theme-base-{{ site.Params.colorScheme }}">
<div id="top-of-site-anchor"></div>