-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
143 lines (132 loc) · 5.33 KB
/
index.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
<!DOCTYPE html>
<html
class="<%= context.pageClasses %>"
lang="en-gb"
data-buildtime="<%= context.buildTime %>"
data-content-id="<%= context.id %>"
>
<head>
<meta charset="utf-8" />
<title><%= context.title %></title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://www.ft.com" />
<% (context.stylesheets || []).forEach(stylesheet=> { %>
<link rel="stylesheet" href="<%= stylesheet %>" />
<% }) %>
<meta property="fb:app_id" content="429755910551755" />
<link
rel="icon"
type="image/svg+xml"
href="https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1%3Abrand-ft-logo-square-coloured?source=ig-projects"
/>
<link
rel="alternate icon"
type="image/png"
href="https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1%3Abrand-ft-logo-square-coloured?source=ig-projects&width=32&height=32&format=png"
sizes="32x32"
/>
<link
rel="alternate icon"
type="image/png"
href="https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1%3Abrand-ft-logo-square-coloured?source=ig-projects&width=194&height=194&format=png"
sizes="194x194"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1%3Abrand-ft-logo-square-coloured?source=ig-projects&width=180&height=180&format=png"
/>
<meta name="format-detection" content="telephone=no" />
<meta name="robots" content="index,follow" />
<meta name="copyright" content="Financial Times" />
<meta name="theme-color" content="#fff1e5" />
<% if (context.flags.data && context.dataMeta) { %>
<script type="application/ld+json">
<%= JSON.stringify(context.dataMeta) %>
</script>
<% } %>
<script type="application/ld+json">
<%= JSON.stringify({
'@context': 'http://schema.org',
'@type': 'WebSite',
name: 'Financial Times',
alternateName: 'FT.com',
url: 'http://www.ft.com',
}) %>
</script>
<% if (context.flags.errorReporting) { %>
<script type="application/json" data-o-errors-config>
<%= JSON.stringify({ sentryEndpoint: 'https://[email protected]/71130'}) %>
</script>
<% } %>
<script type="text/javascript">
cutsTheMustard =
'querySelector' in document &&
'localStorage' in window &&
'addEventListener' in window &&
typeof Function.prototype.bind !== 'undefined';
if (cutsTheMustard)
document.documentElement.className = document.documentElement.className.replace(
/core/g,
'enhanced'
);
</script>
<% if (context.flags.analytics) { %>
<link rel="preconnect" href="https://spoor-api.ft.com" />
<meta property="ft.track:is_live" content="true" />
<% if (context.tracking.product) { %>
<meta property="ft.track:product" content="tracking.product" />
<% } %> <% if (context.tracking.micrositeName) { %>
<meta property="ft.track:microsite_name" content="tracking.micrositeName" />
<% } %> <% } %>
<meta
name="twitter:title"
content="<%= context.twitterHeadline || context.socialHeadline || context.headline %>"
/>
<meta
property="og:title"
content="<%= context.facebookHeadline || context.socialHeadline || context.headline %>"
/>
<meta name="description" content="<%= context.description || context.summary %>" />
<meta
name="twitter:description"
content="<%= context.twitterDescription || context.socialDescription || context.description || context.summary %>"
/>
<meta
property="og:description"
content="<%= context.facebookDescription || context.socialDescription || context.description || context.summary %>"
/>
<link rel="canonical" href="<%= context.url %>" />
<meta name="twitter:url" content="<%= context.url %>" />
<meta property="og:url" content="<%= context.url %>" />
<% if (context.mainImage.url) { %>
<link rel="image_src" href="<%= context.mainImage.url %>" />
<% } %> <% if (context.twitterImage || context.socialImage || context.mainImage.url) { %>
<meta
name="twitter:image"
content="<%= context.twitterImage || context.socialImage || context.mainImage.url %>"
/>
<% } %> <% if (context.facebookImage || context.socialImage || context.mainImage.url) { %>
<meta
property="og:image"
content="<%= context.facebookImage || context.socialImage || context.mainImage.url %>"
/>
<% } %>
<meta name="twitter:card" content="<%= context.twitterCard %>" />
<meta name="twitter:site" content="@FinancialTimes" />
<% if (context.twitterCreator) { %>
<meta name="twitter:creator" content="<%= context.twitterCreator %>" />
<% } %>
<meta property="fb:pages" content="8860325749" />
<meta property="fb:pages" content="121862597867466" />
<meta property="fb:pages" content="622419751233155" />
<meta property="fb:pages" content="23117544640" />
<meta property="fb:pages" content="293710391064899" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"><%- appHtml %></div>
</body>
</html>