layouts: use direct permalink

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-12-21 22:05:28 +05:30
parent ec8824c81f
commit 9c89456620
1 changed files with 1 additions and 1 deletions

View File

@ -36,5 +36,5 @@
{{ else }}
<meta property="og:image" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" key="ogimage" />
{{ end }}
<link rel="canonical" href="{{ .RelPermalink }}" />
<link rel="canonical" href="{{ .Permalink }}" />
{{ end }}