mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-12 02:31:27 +08:00
fix: bing refuse to index because of wrong canonical link
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
name="keywords"
|
name="keywords"
|
||||||
content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}"
|
content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}"
|
||||||
/>
|
/>
|
||||||
<meta name="robots" content="noodp" />
|
|
||||||
<link rel="canonical" href="{{ path.Join $.Site.Params.canonicalRelLinkBase .Permalink }}" />
|
<link rel="canonical" href="{{ path.Join $.Site.Params.canonicalRelLinkBase .RelPermalink }}" />
|
||||||
|
|
||||||
<!-- head custom -->
|
<!-- head custom -->
|
||||||
{{- partial "prepended_head.html" . }}
|
{{- partial "prepended_head.html" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user