diff --git a/hugo-modules/core/utils/seo/private/get-tags.html b/hugo-modules/core/utils/seo/private/get-tags.html index 4613969..75864fd 100644 --- a/hugo-modules/core/utils/seo/private/get-tags.html +++ b/hugo-modules/core/utils/seo/private/get-tags.html @@ -86,7 +86,9 @@ {{ end }} {{ with $seo.canonical }} - {{ $tags = $tags | append (partial "utils/seo/tag/default" (dict "key" "canonical" "value" .)) }} + {{ $attr := dict "rel" "canonical" "href" $.Permalink }} + {{ $c2 := dict "name" "link" "attr" $attr }} + {{ $tags = $tags | append $c2 }} {{ end }} {{ with $seo.twitter_handle }}