layouts: add rel="canonical" link to each post
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
1083e62a18
commit
ec8824c81f
|
@ -36,4 +36,5 @@
|
|||
{{ else }}
|
||||
<meta property="og:image" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" key="ogimage" />
|
||||
{{ end }}
|
||||
<link rel="canonical" href="{{ .RelPermalink }}" />
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue