Skip to content

Commit

Permalink
Merge pull request #59 from jungvonmatt/develop
Browse files Browse the repository at this point in the history
Release v0.11.1
  • Loading branch information
Dennis Lemm authored Jan 6, 2023
2 parents cfd01e3 + 149e280 commit 40a62dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hugo-modules/core/utils/seo/private/get-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 40a62dc

Please sign in to comment.