changed share_img to absolute URL

This commit is contained in:
Li-Wen Yip 2017-03-05 00:40:18 +00:00
parent 71c560081f
commit 0de8a6a977

View File

@ -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 }}