Skip to content

Commit

Permalink
Fix missing reciprocal and self-reference hreflang (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgileNix committed Jan 29, 2021
1 parent 778ee39 commit 84e208f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{{- range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
{{- range .Translations -}}
{{- range .AllTranslations -}}
<link rel="alternate" hreflang="{{- .Lang -}}" href="{{- .Permalink -}}" />
{{ end }}
{{- partial "extend_head.html" . -}}
Expand Down

0 comments on commit 84e208f

Please sign in to comment.