aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/header_opengraph.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-10-05 11:20:09 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-10-07 13:35:21 +0100
commit1eccd97c82cf22bf3979378f85cbc7ec39a66807 (patch)
treec093dff839f28bc506cb5ab5fb9bf31405ec43dc /templates/web/base/header_opengraph.html
parent2b9178d071c383f0064ce3e545afb3f4b4ffdabd (diff)
Combine some base/fixmystreet templates.
The aim is to combine base and fixmystreet as much as possible, providing enough template/styling hooks for any cobrand. This commit removes the need for separate base/fixmystreet templates for the front page, almost all of the /around templates, the open graph headers, and the low level item list templates.
Diffstat (limited to 'templates/web/base/header_opengraph.html')
-rw-r--r--templates/web/base/header_opengraph.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/base/header_opengraph.html b/templates/web/base/header_opengraph.html
index e69de29bb..f728d083f 100644
--- a/templates/web/base/header_opengraph.html
+++ b/templates/web/base/header_opengraph.html
@@ -0,0 +1,6 @@
+ <meta property="og:url" content="[% c.cobrand.base_url %][% c.req.uri.path %]">
+ <meta property="og:title" content="[% title || site_name %]">
+ <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">
+ [% INCLUDE 'header_opengraph_image.html' %]