We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfd01e3 + 149e280 commit 40a62dcCopy full SHA for 40a62dc
hugo-modules/core/utils/seo/private/get-tags.html
@@ -86,7 +86,9 @@
86
{{ end }}
87
88
{{ with $seo.canonical }}
89
- {{ $tags = $tags | append (partial "utils/seo/tag/default" (dict "key" "canonical" "value" .)) }}
+ {{ $attr := dict "rel" "canonical" "href" $.Permalink }}
90
+ {{ $c2 := dict "name" "link" "attr" $attr }}
91
+ {{ $tags = $tags | append $c2 }}
92
93
94
{{ with $seo.twitter_handle }}
0 commit comments