changed share_img to absolute URL
This commit is contained in:
parent
71c560081f
commit
0de8a6a977
@ -51,7 +51,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.share_img }}
|
{{ if .Params.share_img }}
|
||||||
<meta property="og:image" content="{{ .Params.share_img }}" />
|
<meta property="og:image" content="{{ .Params.share_img | absURL }}" />
|
||||||
{{ else if .Params.bigimg }}
|
{{ else if .Params.bigimg }}
|
||||||
<meta property="og:image" content="{{ .Params.bigimg | absURL }}" />
|
<meta property="og:image" content="{{ .Params.bigimg | absURL }}" />
|
||||||
{{ else if .Site.Params.logo }}
|
{{ else if .Site.Params.logo }}
|
||||||
|
Loading…
Reference in New Issue
Block a user