aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/base/header.html5
-rw-r--r--templates/web/fixmystreet.com/header_extra.html4
2 files changed, 4 insertions, 5 deletions
diff --git a/templates/web/base/header.html b/templates/web/base/header.html
index 37c81f454..faba02519 100644
--- a/templates/web/base/header.html
+++ b/templates/web/base/header.html
@@ -21,11 +21,6 @@
[% INCLUDE 'header_opengraph.html' %]
[% INCLUDE 'header/css.html' %]
[% INCLUDE 'common_header_tags.html' %]
-
- [% IF c.req.uri.host == 'osm.fixmystreet.com' %]
- <link rel="canonical" href="https://www.fixmystreet.com[% c.req.uri.path_query %]">
- [% END %]
-
[% TRY %][% PROCESS 'header_extra.html' %][% CATCH file %][% END %]
</head>
diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html
index dc0f86693..f05aeed43 100644
--- a/templates/web/fixmystreet.com/header_extra.html
+++ b/templates/web/fixmystreet.com/header_extra.html
@@ -1,3 +1,7 @@
+[% 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">