-
Notifications
You must be signed in to change notification settings - Fork 914
/
base.html
73 lines (59 loc) · 2.72 KB
/
base.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
{# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. -#}
{% extends "firefox/base-resp.html" %}
{% add_lang_files "firefox/whatsnew_42" %}
{% block extra_meta %}<meta name="robots" content="noindex">{% endblock %}
{#- This will appear as <meta property="og:title"> which can be used for social share -#}
{% block page_og_title %}
{{_('Choose the independent browser')}}
{% endblock %}
{#- This will appear as <meta property="og:description"> which can be used for social share -#}
{% block page_og_desc %}
{{_('Firefox is non-profit, non-corporate, non-compromised. Choosing Firefox isn’t just choosing a browser. It’s a vote for personal freedom.')}}
{% endblock %}
{#- Override <meta property="og:url"> for social share -#}
{% block page_og_url %}{{ url('firefox') }}{% endblock %}
{% block optimizely %}
{% if waffle.switch('firefox-whatsnew-optimizely') %}
{% include 'includes/optimizely.html' %}
{% endif %}
{% endblock %}
{% block page_css %}{% endblock %}
{% block page_title_prefix %}{% endblock %}
{# L10n: the <br> tags below are for visual formatting only. #}
{% block page_title %}{{ _('More protection. <br>The most privacy. <br>Only from Firefox.') }}{% endblock %}
{% block page_title_suffix %}{% endblock %}
{% block body_id %}firefox-whatsnew-42{% endblock %}
{% block body_class %}{% endblock %}
{% block site_header %}
<header id="masthead">
<div id="tabzilla">
<a href="{{ url('mozorg.home') }}" data-link-type="nav" data-link-name="tabzilla">Mozilla</a>
</div>
{% block up_to_date_message %}
<h2>{{ _('Congrats. You’re up to date!') }}</h2>
{% endblock %}
</header>
{% endblock %}
{% block content %}
<main role="main" class="container">
<header>
<h1 data-alt="{{ _('The world’s most private browsing. Only from Firefox.') }}">{{ self.page_title() }}</h1>
{% block main_subhead %}{% endblock %}
</header>
{% block private_browsing_cta %}{% endblock %}
</main>
{% endblock %}
{% block site_footer %}
<footer role="contentinfo">
<a class="logo" href="{{ url('mozorg.home') }}" data-link-type="footer" data-link-name="Mozilla">Mozilla</a>
<ul>
<li><a href="{{ url('privacy') }}" data-link-type="footer" data-link-name="Privacy">{{ _('Privacy Policy') }}</a></li>
<li><a href="{{ url('privacy.notices.websites') }}#cookies" data-link-type="footer" data-link-name="Cookies">{{ _('Cookies') }}</a></li>
<li><a href="{{ url('legal.index') }}" data-link-type="footer" data-link-name="Legal">{{ _('Legal Notices') }}</a></li>
</ul>
</footer>
{% endblock %}
{% block email_form %}{% endblock%}
{% block js %}{% endblock %}