aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixmystreet.com/header_extra.html
blob: 74280a6f98c4cf92d6b856ef7c647df839b9ed5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[% IF NOT bodyclass.match('mappage') %]
<link rel="prefetch" href="[% version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js') %]">
[% END %]

[% IF bodyclass.match('frontpage') %]
<link rel="prefetch" href="[% version('/cobrands/fixmystreet.com/js.js') %]">
[% END %]

[% IF c.req.uri.host == 'osm.fixmystreet.com' %]
    <link rel="canonical" href="https://www.fixmystreet.com[% c.req.uri.path_query %]">
[% END %]

<meta name='theme-color' content='#ffd000'>
<link rel="Shortcut Icon" type="image/x-icon" href="/cobrands/fixmystreet.com/favicon.ico">

[%# Code for flex box usage on councils page %]
<script nonce="[% csp_nonce %]">
(function(d){
  var c = " ", f = "flex", fw = "-webkit-"+f, g = d.createElement('b');
  try {
    g.style.display = fw;
    g.style.display = f;
    c += (g.style.display == f || g.style.display == fw) ? f : "no-"+f;
  } catch(e) {
    c += "no-"+f;
  }
  d.documentElement.className += c;
})(document);
</script>

[% INCLUDE 'tracking_code.html' %]