Canonical URLs should be absolute not relative (#66)
https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls#rel-canonical-link-method
This commit is contained in:
parent
ae30c7d3b8
commit
efbc6acf90
|
@ -4,7 +4,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
<link rel="canonical" href="{{ .RelPermalink }}">
|
<link rel="canonical" href="{{ .Permalink }}" />
|
||||||
|
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
{{ with .Site.Params.homeMetaContent }}
|
{{ with .Site.Params.homeMetaContent }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user