Skip to content
Snippets Groups Projects
twittercard.html 663 B
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@chaotikum_ev">
<meta name="twitter:title" content="{{ page.title }}">

<meta name="twitter:description"
    content="{{ page.content | strip_html | xml_escape
      | truncate: 200 }}">

{% if page.feature_image %}
  {% if page.feature_image contains '://' %}
    <meta name="twitter:image" content="{{ page.feature_image}}">
  {% else %}
    <meta name="twitter:image" content="{{site.url}}{{site.baseurl}}{{ page.feature_image}}">
  {% endif %}
{% else %}
  <meta name="twitter:image"
    content="{{site.url}}/{{site.baseurl}}{{ site.default-feature }}">
{% endif %}