don't use twitter's large summary card when the image is the website's avatar

This commit is contained in:
Dean Attali 2020-07-12 03:06:26 -04:00 committed by GitHub
parent c5b7a95133
commit 5bec4cfec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">