Add og:image width and height

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

View File

@ -32,6 +32,8 @@
{% if site.data.assets.preview_host %} {% 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='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' }}?t={{ timestamp }}' property='twitter:image'>
<meta content='900' property='og:image:width'>
<meta content='471' property='og:image:height'>
{% endif %} {% endif %}
{%comment%}<!-- description -->{%endcomment%} {%comment%}<!-- description -->{%endcomment%}