Skip to content

Commit

Permalink
Add head link to canonical_url if present (#1649)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Aug 24, 2022
1 parent 29225fd commit 647f460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/partials/hooks/head-end.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{ with .Params.canonical_url -}}
<link rel="canonical" href="{{ . }}">
{{ end -}}

0 comments on commit 647f460

Please sign in to comment.