Skip to content

Commit 40a62dc

Browse files
author
Dennis Lemm
authored
Merge pull request #59 from jungvonmatt/develop
Release v0.11.1
2 parents cfd01e3 + 149e280 commit 40a62dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hugo-modules/core/utils/seo/private/get-tags.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@
8686
{{ end }}
8787

8888
{{ with $seo.canonical }}
89-
{{ $tags = $tags | append (partial "utils/seo/tag/default" (dict "key" "canonical" "value" .)) }}
89+
{{ $attr := dict "rel" "canonical" "href" $.Permalink }}
90+
{{ $c2 := dict "name" "link" "attr" $attr }}
91+
{{ $tags = $tags | append $c2 }}
9092
{{ end }}
9193

9294
{{ with $seo.twitter_handle }}

0 commit comments

Comments
 (0)