fix: bing refuse to index because of wrong canonical link

This commit is contained in:
2022-12-16 12:24:05 +08:00
committed by GitHub
parent a455b41ece
commit 775ddeb957

View File

@@ -11,8 +11,8 @@
name="keywords"
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 -->
{{- partial "prepended_head.html" . }}