summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 34a9a08..fe1a261 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -26,6 +26,9 @@
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" title="{{ $.Site.Title }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
+ {{- range .AllTranslations -}}
+ <link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
+ {{ end -}}
{{- partial "custom-head.html" . -}}