Link elements with hreflang should be absolute.
This commit is contained in:
parent
c3af9d404a
commit
338d1e8264
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .IsTranslated -}}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Language.Params.LanguageCode | default .Lang }}" href="{{ .RelPermalink }}">
|
||||
<link rel="alternate" hreflang="{{ .Language.Params.LanguageCode | default .Lang }}" href="{{ .Permalink }}">
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue