/
base-resp.html
181 lines (153 loc) · 7.86 KB
/
base-resp.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{% from "macros.html" import mozorg_newsletter_form with context %}
{% set_lang_files "main" %}
<!doctype html>
{# Note the "windows" class, without javascript platform-specific
assets default to windows #}
<html class="windows no-js" lang="{{ LANG }}" dir="{{ DIR }}"{% block html_attrs %}{% endblock %}>
<head>
<meta charset="utf-8">{# Note: Must be within first 512 bytes of page #}
<!--
{% include "includes/careers-teaser.html" %}
-->
{% block ga_experiments %}{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block extra_meta %}{% endblock %}
{% block shared_meta %}
{#- Please sync this block with the base.html template.
Because of blocks, we cannot use an include here. -#}
<title>{% filter striptags|e %}{% block page_title_full %}{% block page_title_prefix %}{% endblock %}{% block page_title %}{% endblock %}{% endblock page_title_full %}{% block page_title_suffix %} — Mozilla{% endblock %}{% endfilter %}</title>
<meta name="description" content="{% filter striptags|e %}{% block page_desc %}{% endblock %}{% endfilter %}">
<meta property="og:type" content="website">
<meta property="og:site_name" content="{{ _('Mozilla') }}">
<meta property="og:locale" content="{{ LANG|replace("-", "_") }}">
<meta property="og:url" content="{{ settings.CANONICAL_URL + '/' + LANG + canonical_path }}">
<meta property="og:image" content="{% filter absolute_url %}{% block page_image %}{{ media('img/mozorg/mozilla-256.jpg') }}{% endblock %}{% endfilter %}">
<meta property="og:title" content="{{ self.page_title_full()|striptags }}">
<meta property="og:description" content="{{ self.page_desc()|striptags }}">
<meta property="fb:page_id" content="{% block facebook_id %}262134952380{# facebook.com/mozilla #}{% endblock %}">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@{% block twitter_id %}mozilla{% endblock %}">
<meta name="twitter:domain" content="mozilla.org">
<meta name="twitter:app:name:googleplay" content="{% block android_app_name %}{{ _('Firefox') }}{% endblock %}">
<meta name="twitter:app:id:googleplay" content="{% block android_app_id %}org.mozilla.firefox{% endblock %}">
<link rel="shortcut icon" href="{% block page_favicon %}{{ media('img/favicon.ico') }}{% endblock %}">
{% include 'includes/canonical-url.html' %}
{% endblock shared_meta %}
{% block tabzilla_css %}
{{ css('tabzilla') }}
{% endblock %}
<!--[if lte IE 8]>
<script src="{{ MEDIA_URL }}js/libs/html5shiv.js"></script>
<![endif]-->
{% block site_css %}
{{ css('responsive') }}
{% endblock %}
{% include 'includes/locale-font-faces.html' %}
{% block extrahead %}{% endblock %}
{{ js('site') }}
{% block optimizely %}
{% include 'includes/optimizely.html' %}
{% endblock %}
{% block js_pretrack %}{# include JavaScript that must be run pre GA tracking here #}{% endblock %}
{% block google_analytics %}
{% include 'includes/google-analytics.html' %}
{% endblock %}
</head>
<body id="{% block body_id %}{% endblock %}" class="html-{{ DIR }} {% block body_class %}{% endblock %}"{% block body_attrs %}{% endblock %}>
<div id="strings" data-global-close="{{ _('Close') }}" {% block string_data %}{% endblock %}></div>
<div id="outer-wrapper">
<div id="wrapper">
{% block site_header %}
<header id="masthead">
<a href="{{ url('mozorg.home') }}" id="tabzilla" data-infobar="{{ settings.TABZILLA_INFOBAR_OPTIONS }}">Mozilla</a>
{% block site_header_nav %}
<span class="toggle" role="button" aria-controls="nav-main-menu" tabindex="0">{{_('Menu')}}</span>
<nav id="nav-main" role="navigation">
<ul id="nav-main-menu">
<li class="first mission-item"><a href="{{ url('mozorg.mission') }}">{{_('Mission')}}</a></li>
<li class="about-item"><a href="{{ url('mozorg.about') }}">{{_('About')}}</a></li>
<li class="products-item"><a href="{{ url('mozorg.products') }}">{{_('Products')}}</a></li>
<li class="last contribute-item"><a href="{{ url('mozorg.contribute') }}">{{_('Get Involved')}}</a></li>
</ul>
</nav>
{% endblock %}
{% block site_header_logo %}
<h2><a href="{{ url('mozorg.home') }}"><img src="{{ MEDIA_URL }}img/sandstone/header-mozilla-stone.png" alt="mozilla"></a></h2>
{% endblock %}
{% block alt_header %}{% endblock %}
{% block subnav %}{% endblock %}
{% block breadcrumbs %}{% endblock %}
</header>
{% endblock %}
{% block mosaic %}{% endblock %}
{% block messages %}
{% if messages %}
<ul class="messagelist billboard">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock messages %}
{% block content %}{% endblock %}
{% block email_form %}{{ email_newsletter_form() }}{% endblock %}
</div><!-- close #wrapper -->
{% block site_footer %}
<footer id="colophon" class="{% block footer_class %}{% endblock %}">
<div class="row">
<div class="footer-logo">
<a href="{{ php_url('/') }}"><img src="{{ media('img/sandstone/footer-mozilla.png') }}" alt="mozilla"></a>
</div>
<div class="footer-license">
<p>
{% trans url=url('foundation.licensing.website-content') %}
Portions of this content are ©1998–{{ current_year }} by individual
mozilla.org contributors. Content available under
a <a href="{{ url }}">Creative Commons license</a>.
{% endtrans %}
</p>
<p>
<a href="{{ url('mozorg.contribute_page') }}">{{_('Contribute to this page')}}</a>
</p>
</div>
<ul class="footer-nav">
<li><a href="{{ url('mozorg.contact.spaces.spaces-landing') }}">{{_('Contact Us')}}</a></li>
<li><a href="{{ url('mozorg.partnerships') }}">{{_('Partner with Us')}}</a></li>
<li><a href="{{ donate_url() }}?source=mozillaorg_footer&amount=20" class="donate">{{ _('Donate') }}</a></li>
<li><a href="{{ url('privacy.index') }}">{{_('Privacy Policy')}}</a></li>
<li><a href="{{ php_url('/about/legal.html') }}">{{_('Legal Notices')}}</a></li>
<li><a href="{{ php_url('/legal/fraud-report/index.html') }}">{{_('Report Trademark Abuse')}}</a></li>
</ul>
{% block social %}
<ul class="footer-nav">
<li><a href="https://twitter.com/mozilla">{{_('Mozilla on Twitter')}}</a></li>
<li><a href="{{ firefox_twitter_url() }}">{{_('Firefox on Twitter')}}</a></li>
<li><a href="https://www.facebook.com/mozilla">{{_('Mozilla on Facebook')}}</a></li>
<li><a href="https://www.facebook.com/Firefox">{{_('Firefox on Facebook')}}</a></li>
<li><a href="https://affiliates.mozilla.org/">{{_('Firefox Affiliates')}}</a></li>
</ul>
{% endblock %}
{% block lang_switcher %}
<div class="footer-lang">
{% include 'includes/lang_switcher.html' %}
</div>
{% endblock %}
</div>
</footer>
{% endblock %}
</div><!-- close #outer-wrapper -->
<!--[if IE 9]>
<script src="{{ MEDIA_URL }}js/libs/matchMedia.js"></script>
<![endif]-->
{% block site_js %}
{{ js('common-resp') }}
{% endblock %}
{% block tabzilla_js %}
<script src="{{ settings.CDN_BASE_URL }}{{ url('tabzilla') }}?build={{ BUILD_ID_JS }}"></script>
{% endblock %}
{% block js %}{% endblock %}
{% if settings.USE_GRUNT_LIVERELOAD %}
<script src="//localhost:35729/livereload.js"></script>
{% endif %}
</body>
</html>