1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-13 16:45:14 +01:00

post excerpt for twitter cards

This commit is contained in:
Matthias Kretschmann 2013-12-16 00:33:47 +01:00
parent 7a6b136b4b
commit 9b062fae26

View File

@ -97,7 +97,7 @@
{% if page.description %}
<meta name="twitter:description" content="{{ page.description }}">
{% else %}
<meta name="twitter:description" content="{{ site.description }}">
<meta name="twitter:description" content="{{ page.excerpt }}">
{% endif %}
{% if page.image %}
<meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}">