diff options
Diffstat (limited to 'layouts/partials/head.html')
-rwxr-xr-x | layouts/partials/head.html | 12 |
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 }}
|