2015-12-20 05:22:45 +01:00
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
|
<meta name="twitter:site" content="@{{ site.twitter }}">
|
|
|
|
<meta name="twitter:creator" content="@{{ site.twitter }}">
|
|
|
|
|
2017-03-28 14:22:01 +02:00
|
|
|
{% if page.layout == 'usecase' %}
|
|
|
|
<meta name="twitter:title" content="{{ page.company }} • • {{ page.industry }} • • {{ site.name }}">
|
|
|
|
{% elsif page.title %}
|
2015-12-23 14:00:35 +01:00
|
|
|
<meta name="twitter:title" content="{{ page.title }} • • {{ site.name }}">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% else %}
|
2015-12-23 14:00:35 +01:00
|
|
|
<meta name="twitter:title" content="{{ site.name }} • • {{ site.description }}">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.url %}
|
|
|
|
<meta name="twitter:url" content="{{ site.url}}{{ page.url | replace:'index.html','' }}">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.description %}
|
|
|
|
<meta name="twitter:description" content="{{ page.description }}">
|
2015-12-23 14:00:35 +01:00
|
|
|
{% elsif page.front_page %}
|
|
|
|
<meta name="twitter:description" content="{{ site.description }}">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.image %}
|
|
|
|
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/{{ page.image }}">
|
|
|
|
{% else %}
|
2017-02-07 23:42:18 +01:00
|
|
|
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/share-image.jpg">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% endif %}
|