Oops, fix og:image URL

This commit is contained in:
Rico Sta. Cruz 2017-09-08 04:54:11 +08:00
parent bf0dbcfd37
commit 5befaaab7a
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@
{%comment%}<!-- image -->{%endcomment%}
{% if site.data.assets.preview_host %}
<meta content='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' }}?t={{ timestamp }}' property='og:image'>
<meta content='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' }}?t={{ timestamp }}' property='twitter:image'>
<meta content='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' }}.jpg?t={{ timestamp }}' property='og:image'>
<meta content='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' }}.jpg?t={{ timestamp }}' property='twitter:image'>
<meta content='900' property='og:image:width'>
<meta content='471' property='og:image:height'>
{% endif %}