Merge pull request #70 from DirtyF/patch-1 …
Large image summary Twitter Card support
This commit is contained in:
commit
2494901e64
|
@ -132,7 +132,13 @@
|
|||
{% endif %}
|
||||
|
||||
{% if site.twitter %}
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
||||
{% if page.image %}
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
{% else %}
|
||||
<meta name="twitter:card" content="summary" />
|
||||
{% endif %}
|
||||
|
||||
<meta name="twitter:site" content="@{{ site.twitter.username | replace:"@","" }}" />
|
||||
|
||||
{% if seo_author_twitter %}
|
||||
|
|
Loading…
Reference in New Issue