Skip to content

Commit

Permalink
fix: change OGP image path from relURL to absURL
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Feb 2, 2020
1 parent d515ec0 commit f63068a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head/ogp.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ $image := resources.Get $.Params.eyecatch }}
{{ $imagePath = ($image | resources.Fingerprint "sha512").Permalink }}
{{ else }}
{{ $imagePath = $.Site.Params.ogp.image | relURL }}
{{ $imagePath = $.Site.Params.ogp.image | absURL }}
{{ end }}

{{ $description := "" }}
Expand Down

0 comments on commit f63068a

Please sign in to comment.