Merge pull request #150 from kishore-mohan/facebook_metataf
facebook sharing image meta tag added related #149 issue
This commit is contained in:
commit
09fdd3c5a4
1 changed files with 6 additions and 1 deletions
|
@ -17,3 +17,8 @@
|
|||
{% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | strip_html }}">{% endif %}
|
||||
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
{% if page.image.feature %}
|
||||
<meta property="og:image" content="{{ site.url }}/images/{{ page.image.feature }}">
|
||||
{% else %}
|
||||
<meta property="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
|
||||
{% endif %}
|
Loading…
Reference in a new issue