mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
fix twitter cards for photos
This commit is contained in:
parent
2d5c422a76
commit
3ed018d959
@ -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:creator" content="@kremalicious">
|
||||
{% if page.title %}
|
||||
|
Loading…
Reference in New Issue
Block a user