mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-01 15:55:36 +01:00
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:site" content="@{{ site.social.twitter.handle }}">
|
|
<meta name="twitter:creator" content="@{{ site.social.twitter.handle }}">
|
|
|
|
{% if page.layout == 'usecase' %}
|
|
<meta name="twitter:title" content="{{ page.company }} • • {{ page.industry }} • • {{ site.name }}">
|
|
{% elsif page.title %}
|
|
<meta name="twitter:title" content="{{ page.title }} • • {{ site.name }}">
|
|
{% else %}
|
|
<meta name="twitter:title" content="{{ site.name }} • • {{ site.description }}">
|
|
{% 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 }}">
|
|
{% elsif page.front_page %}
|
|
<meta name="twitter:description" content="{{ site.description }}">
|
|
{% 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 %}
|
|
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/share-image.jpg">
|
|
{% endif %}
|