Try to add screenshot to Tweets
This commit is contained in:
1 parent
27f28b72c4
commit
ad8a7607fe
1 file changed
+4
@@ -25,3 +25,7 @@
|
||||
<meta property="og:title" content="{{ page.title }}" />
|
||||
<meta property="twitter:title" content="{{ page.title }}" />
|
||||
{% endif %}
|
||||
|
||||
{% if post.screenshots %}
|
||||
<meta property="og:image" content="{{ {% if post.screenshots[0] contains '://' %}{{post.screenshots[0]}}{% else %}{{ site.baseurl }}/database/{{ post.screenshots[0] }}{% endif %}" alt="Screenshot" }}" />
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user