1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +01:00

fix twitter cards for photos

This commit is contained in:
Matthias Kretschmann 2014-04-12 16:58:00 +02:00
parent 2d5c422a76
commit 3ed018d959

View File

@ -1,5 +1,9 @@
<meta name="twitter:card" content="summary"> {% if page.category == "photos" %}
<meta name="twitter:card" content="photo">
{% else %}
<meta name="twitter:card" content="summary">
{% endif %}
<meta name="twitter:site" content="@kremaliciouscom"> <meta name="twitter:site" content="@kremaliciouscom">
<meta name="twitter:creator" content="@kremalicious"> <meta name="twitter:creator" content="@kremalicious">
{% if page.title %} {% if page.title %}