Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from histrio/main
Browse files Browse the repository at this point in the history
Give an option to provide custom canonical url
  • Loading branch information
gkmngrgn authored Oct 2, 2022
2 parents d4a6d02 + dcf05af commit 90e6ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{{ end }}


<link rel="canonical" href="{{ .Permalink }}" />
<link rel="canonical" href="{{ .Params.canonical | default .Permalink }}" />

{{ if .Site.Params.faviconfile }}
<link rel="shortcut icon" href="{{ .Site.Params.faviconfile | absURL }}" />
Expand Down

0 comments on commit 90e6ee8

Please sign in to comment.