Fix og:image in index

This commit is contained in:
Rico Sta. Cruz 2017-09-08 04:56:38 +08:00
parent 5befaaab7a
commit ec56e6359c
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' }}.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='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' | default: 'index' }}.jpg?t={{ timestamp }}' property='og:image'>
<meta content='{{ site.data.assets.preview_host }}{{ page.url | remove: '.html' | default: 'index' }}.jpg?t={{ timestamp }}' property='twitter:image'>
<meta content='900' property='og:image:width'>
<meta content='471' property='og:image:height'>
{% endif %}