Fix missing reciprocal and self-reference hreflang (#211)
ref: - https://help.ahrefs.com/en/articles/2631143-missing-reciprocal-hreflang-no-return-tag-error-in-site-audit - https://help.ahrefs.com/en/articles/2754344-what-does-the-self-referencing-hreflang-annotation-missing-issue-in-site-audit-mean
This commit is contained in:
parent
778ee39137
commit
84e208f98d
|
@ -71,7 +71,7 @@
|
||||||
{{- range .AlternativeOutputFormats -}}
|
{{- range .AlternativeOutputFormats -}}
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{- range .Translations -}}
|
{{- range .AllTranslations -}}
|
||||||
<link rel="alternate" hreflang="{{- .Lang -}}" href="{{- .Permalink -}}" />
|
<link rel="alternate" hreflang="{{- .Lang -}}" href="{{- .Permalink -}}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- partial "extend_head.html" . -}}
|
{{- partial "extend_head.html" . -}}
|
||||||
|
|
Loading…
Reference in New Issue