summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/func/GetLanguageDirection.html5
-rw-r--r--layouts/partials/head.html7
2 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/func/GetLanguageDirection.html b/layouts/partials/func/GetLanguageDirection.html
new file mode 100644
index 0000000..fe107a8
--- /dev/null
+++ b/layouts/partials/func/GetLanguageDirection.html
@@ -0,0 +1,5 @@
+{{ $dir := "" }}
+{{ with site.Language.LanguageDirection }}
+ {{ $dir = . }}
+{{ end }}
+{{ return $dir }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 71a2a8c..51ec8e3 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,15 +6,10 @@
{{- $author := print .Site.Author.name -}}
{{- if .Params.author -}}{{ $author = .Params.author }}{{- end -}}
- <!-- Basic meta elements -->
<meta charset="utf-8">
-
- <!-- Enable responsiveness on mobile devices -->
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no">
-
- <!-- Canonical link to help search engines -->
<link rel="canonical" href="{{ .Permalink }}">
-
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ $description }}">
{{ hugo.Generator }}