index.html.eex 1.36 KB
Newer Older
lain's avatar
lain committed
1
2
3
<!DOCTYPE html>
<html lang='en'>
<head>
4
5
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
lain's avatar
lain committed
6
7
8
9
<title>
<%= Application.get_env(:pleroma, :instance)[:name] %>
</title>
<link rel="icon" type="image/png" href="/favicon.png"/>
10
<script crossorigin='anonymous' src="/packs/locales.js"></script>
11
<script crossorigin='anonymous' src="/packs/locales/<%= @flavour %>/en.js"></script>
lain's avatar
lain committed
12

13
14
15
16
<link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/getting_started.js'>
<link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/compose.js'>
<link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/home_timeline.js'>
<link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/notifications.js'>
lain's avatar
lain committed
17
<script id='initial-state' type='application/json'><%= raw @initial_state %></script>
18
19
20
21

<script src="/packs/core/common.js"></script>
<link rel="stylesheet" media="all" href="/packs/core/common.css" />

22
23
<script src="/packs/flavours/<%= @flavour %>/common.js"></script>
<link rel="stylesheet" media="all" href="/packs/flavours/<%= @flavour %>/common.css" />
24

25
<script src="/packs/flavours/<%= @flavour %>/home.js"></script>
lain's avatar
lain committed
26
</head>
27
<body class='app-body no-reduce-motion system-font'>
lain's avatar
lain committed
28
29
30
31
  <div class='app-holder' data-props='{&quot;locale&quot;:&quot;en&quot;}' id='mastodon'>
  </div>
</body>
</html>