diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-14 12:51:11 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-14 14:03:41 +0000 |
commit | 86fe23698d2860ae6001c91dc7a376ed95de29a9 (patch) | |
tree | 5be005eb95e889305884f28347bfc3e5269ee534 | |
parent | 14fbed77e047b97a8c6378558721a63959573b20 (diff) |
[fixmystreet.com] Move line to better template.
-rw-r--r-- | templates/web/base/header.html | 5 | ||||
-rw-r--r-- | templates/web/fixmystreet.com/header_extra.html | 4 |
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"> |