don't use twitter's large summary card when the image is the website's avatar
This commit is contained in:
parent
c5b7a95133
commit
5bec4cfec8
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- Twitter summary cards -->
|
<!-- Twitter summary cards -->
|
||||||
{% if shareimg != "" %}
|
{% if shareimg != "" and shareimg != site.avatar %}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
|
Loading…
Reference in New Issue
Block a user