aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2015-09-14 17:17:54 +0100
committerZarino Zappia <mail@zarino.co.uk>2015-09-29 11:58:15 +0100
commit1dd68c2f6fed08b90fdaea8efd8c6bcf0399b8d8 (patch)
treed4db7638cb886906748571f007c2af15e46c8618 /templates
parent9af214f26c2b10832977d715629e9e0fbf4ad349 (diff)
Add new high-res default OpenGraph image.
Fixes #1184.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/fixmystreet/header_opengraph.html5
-rw-r--r--templates/web/fixmystreet/header_opengraph_image.html4
2 files changed, 5 insertions, 4 deletions
diff --git a/templates/web/fixmystreet/header_opengraph.html b/templates/web/fixmystreet/header_opengraph.html
index f83296160..f728d083f 100644
--- a/templates/web/fixmystreet/header_opengraph.html
+++ b/templates/web/fixmystreet/header_opengraph.html
@@ -3,7 +3,4 @@
<meta property="og:site_name" content="[% site_name %]">
[% IF c.req.uri.path == '/' %]<meta property="og:description" content="Report, view, and discuss local street-related problems.">[% END %]
<meta property="og:type" content="website">
- <meta property="og:image" content="[% c.cobrand.base_url %]/cobrands/fixmystreet/fms-og_image.png">
- <meta property="og:image:type" content="image/png">
- <meta property="og:image:width" content="500">
- <meta property="og:image:height" content="500">
+ [% INCLUDE 'header_opengraph_image.html' %]
diff --git a/templates/web/fixmystreet/header_opengraph_image.html b/templates/web/fixmystreet/header_opengraph_image.html
new file mode 100644
index 000000000..7ec1aabb0
--- /dev/null
+++ b/templates/web/fixmystreet/header_opengraph_image.html
@@ -0,0 +1,4 @@
+ <meta property="og:image" content="[% c.cobrand.base_url %]/cobrands/fixmystreet/images/fms-og_image.jpg">
+ <meta property="og:image:type" content="image/jpeg">
+ <meta property="og:image:width" content="1200">
+ <meta property="og:image:height" content="630">