aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/angus/header.html
blob: 19e9e7f68d3261a98d0892ac2fcf3367f134812b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[%
    SET html_att = ' lang="' _ lang_code _ '"';
    # For a right-to-left language, use the following line in your own header:
    # SET html_att = html_att _ ' dir="rtl"';
-%]
<!doctype html>
<!--[if lt IE 7]><html class="no-js ie6 iel8"[% html_att %]><![endif]-->
<!--[if IE 7]>   <html class="no-js ie7 iel8"[% html_att %]><![endif]-->
<!--[if IE 8]>   <html class="no-js ie8 iel8"[% html_att %]><![endif]-->
<!--[if IE 9]>   <html class="no-js ie9"[% html_att %]><![endif]-->
<!--[if gt IE 9]><!--><html class="no-js"[% html_att %]><!--<![endif]-->
    <head>
        <meta name="viewport" content="initial-scale=1.0">

        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
        <meta name="HandHeldFriendly" content="true">
        <meta name="mobileoptimized" content="0">

        [% INCLUDE 'header_opengraph.html' %]
        <link rel="stylesheet" href="[% version('/cobrands/angus/base.css') %]">
        <link rel="stylesheet" href="[% version('/cobrands/angus/layout.css') %]" media="(min-width:48em)">
        [% extra_css %]
        <!--[if (lt IE 9) & (!IEMobile)]>
            <link rel="stylesheet" href="[% version('/cobrands/angus/layout.css') %]">
        <![endif]-->

        <script src="[% version('/js/modernizr.custom.js') %]" charset="utf-8"></script>
        <script src="[% version('/cobrands/angus/position_map.js') %]" charset="utf-8"></script>
        [% INCLUDE 'common_header_tags.html' %]
        [% extra_js %]

        [% 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>
    [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %]
    <body class="[% bodyclass | html IF bodyclass %]">

    <div class="wrapper">
        <div class="table-cell">
            <header id="site-header" role="banner">
                <div class="container">
                    [% INCLUDE 'header_logo.html' %]
                    <a href="#main-nav" id="nav-link">Main Navigation</a>

                    [% INCLUDE 'angus_search.html' %]
                </div>
            </header>

            [% INCLUDE 'post_header_extra.html' %]
            [% pre_container_extra %]

            <div class="container">
                <div class="content[% " $mainclass" | html IF mainclass %]" role="main">

        <!-- [% INCLUDE 'debug_header.html' %] -->