aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/hart/header.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-01-15 18:10:13 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2015-01-19 16:54:24 +0000
commit311dabb07a166ad44b5c5259358f17ed74a1d1b3 (patch)
tree1ae6ddda0a5d8d9f565252a8eee9b88e810c280a /templates/web/hart/header.html
parent683bc0b0898df79a6281ebcab93045b79649484e (diff)
Move site_title function to site-name web template
This matches the email template behaviour, and makes it much easier to override without requiring a cobrand package file. Fixes #979.
Diffstat (limited to 'templates/web/hart/header.html')
-rw-r--r--templates/web/hart/header.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/templates/web/hart/header.html b/templates/web/hart/header.html
index 882d382dd..dcc202b5a 100644
--- a/templates/web/hart/header.html
+++ b/templates/web/hart/header.html
@@ -11,15 +11,7 @@
<meta name="HandHeldFriendly" content="true">
<meta name="mobileoptimized" content="0">
- <meta property="og:url" content="[% c.cobrand.base_url %][% c.req.uri.path %]">
- <meta property="og:title" content="[% title || 'FixMyStreet' %]">
- <meta property="og:site_name" content="[% c.cobrand.site_title %]">
- [% 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.html' %]
[% SET start = c.config.ADMIN_BASE_URL IF admin %]
@@ -33,7 +25,7 @@
<script src="[% start %][% version('/js/modernizr.custom.js') %]" charset="utf-8"></script>
<script src="[% start %][% version('/cobrands/fixmystreet/position_map.js') %]" charset="utf-8"></script>
- [% INCLUDE 'common_header_tags.html', js_override = '/cobrands/fixmystreet/fixmystreet.js', site_title = c.cobrand.site_title %]
+ [% INCLUDE 'common_header_tags.html', js_override = '/cobrands/fixmystreet/fixmystreet.js' %]
[% extra_js %]
<script type="text/javascript">
$(function(){