Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/educenter-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rwxr-xr-xlayouts/partials/head.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b3b5dae..674b6c7 100755
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,9 +4,17 @@
{{ "<!-- mobile responsive meta -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
- {{ with site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
+ <meta name="description"
+ content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}">
+ {{ with site.Params.author }}
+ <meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}
+ {{ "<!-- multilingual SEO optimizations -->" | safeHTML }}
+ {{ if .IsTranslated }}
+ {{ range .Page.AllTranslations }}
+ <link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
+ {{ end }}
+ {{ end }}
{{ "<!-- plugins -->" | safeHTML }}
{{ range site.Params.plugins.css }}