2014-04-06 15:35:15 +02:00
|
|
|
|
2014-04-12 16:58:00 +02:00
|
|
|
{% if page.category == "photos" %}
|
|
|
|
<meta name="twitter:card" content="photo">
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
{% endif %}
|
2014-04-06 15:35:15 +02:00
|
|
|
<meta name="twitter:site" content="@kremaliciouscom">
|
|
|
|
<meta name="twitter:creator" content="@kremalicious">
|
|
|
|
{% if page.title %}
|
|
|
|
<meta name="twitter:title" content="{{ page.title }}">
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:title" content="{{ site.title }}">
|
|
|
|
{% endif %}
|
|
|
|
{% if page.url %}
|
2014-09-02 21:13:58 +02:00
|
|
|
<meta name="twitter:url" content="{{ site.url}}{{ page.url | replace:'index.html','' }}">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if page.description %}
|
|
|
|
<meta name="twitter:description" content="{{ page.description }}">
|
|
|
|
{% else %}
|
|
|
|
<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">
|
|
|
|
{% endif %}
|
|
|
|
{% if page.image %}
|
2014-09-02 21:13:58 +02:00
|
|
|
<meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% else %}
|
2015-06-20 00:23:59 +02:00
|
|
|
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/kremalicious1024.png">
|
|
|
|
{% endif %}
|