Skip to content

Commit 3d4f87e

Browse files
committed
base url at beginning of og image
1 parent fa6d184 commit 3d4f87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<meta property="og:title" content="{{ .Title }}" />
1818
<meta property="og:type" content="website" />
1919
<meta property="og:url" content="{{ .Permalink }}" />
20-
<meta property="og:image" content="{{if .Params.image }}{{ .Params.image }}{{ else }}{{ .Site.Params.og_image }}{{ end }}" />
20+
<meta property="og:image" content="{{ .Site.BaseURL }}{{if .Params.image }}{{ .Params.image }}{{ else }}{{ .Site.Params.og_image }}{{ end }}" />
2121
<meta name="viewport" content="width=device-width, initial-scale=1">
2222
<meta name="robots" content="index, follow">
2323
</head>

0 commit comments

Comments
 (0)