summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-07-10 10:13:58 -0400
committerluxagraf <sng@luxagraf.net>2015-07-10 10:13:58 -0400
commit68361e252c5fae432e30bb88ce86b3d9ac073f28 (patch)
treef8cc1df5ee8f67297d1a096459d7622abae5536f /design
parent66e3ed2c34a8e751eb200b9c8e3c593208a2afa2 (diff)
added more images to facebook OG tags
Diffstat (limited to 'design')
-rw-r--r--design/templates/details/entry.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index ce71987..7982c29 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -18,7 +18,8 @@
<meta property="article:published_time" content="{{object.pub_date|date:'c'}}" />
<meta property="article:author" content="Luxagraf" />
<meta property="og:site_name" content="Luxagraf" />
- <meta property="og:image" content="{{object.get_image_url}}" />
+ <meta property="og:image" content="{{object.get_image_url}}" />{% for image in object.get_images %}
+ <meta property="og:image" content="{{image}}" />{% endfor %}
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:description" content="{{object.meta_description}}"/>