Commit ff1adebe authored by Annika Backstrom's avatar Annika Backstrom

Add 1.91:1 ratio image for facebook

parent 8357f840
......@@ -5,6 +5,7 @@ Date: 2017-09-07 22:38
Category: Personal
Tags: rats, pets, loss
Meta-Image-Square: /media/2017/09/burrito/sniff.512x512.jpg
Meta-Image-FB: /media/2017/09/burrito/sniff.1200x630.jpg
Burrito, my little black and white hooded rat, died around 17:15 this
evening. He passed away in Charlotte's arms, in his favorite blanket
......
......@@ -21,7 +21,9 @@
<meta property="og:title" content="{{ article.title|e }}">
<meta property="og:description" content="{{ article.summary|striptags|e }}">
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}">
{% if article["meta-image-square"] %}
{% if article["meta-image-fb"] %}
<meta property="og:image" content="{{ SITEURL }}{{ article["meta-image-fb"] }}">
{% elif article["meta-image-square"] %}
<meta property="og:image" content="{{ SITEURL }}{{ article["meta-image-square"] }}">
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment