mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-25 01:16:23 -04:00
make absURLs more resilient (trailing slashes/not)
This commit is contained in:
10 files changed
+17
-15
No files matched your search
@@ -5,7 +5,7 @@
|
||||
<meta property="og:url" content="{{ .Permalink }}">
|
||||
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
|
||||
<meta property="og:image" content="{{ .Scratch.Get "socialImage_url" }}">
|
||||
<meta property="og:image" content="{{ .Scratch.Get "socialImage_url" | absURL }}">
|
||||
<meta property="og:image:width" content="{{ .Scratch.Get "socialImage_width" }}">
|
||||
<meta property="og:image:height" content="{{ .Scratch.Get "socialImage_height" }}">
|
||||
<meta property="og:image:alt" content="{{ .Title }}">
|
||||
|
||||
Reference in new issue
Block a user