Merge remote-tracking branch 'pleroma/develop' into alias-router-helpers
[akkoma] / lib / pleroma / web / templates / masto_fe / index.html.eex
1 <!DOCTYPE html>
2 <html lang='en'>
3 <head>
4 <meta charset='utf-8'>
5 <meta content='width=device-width, initial-scale=1' name='viewport'>
6 <title>
7 <%= Config.get([:instance, :name]) %>
8 </title>
9 <link rel="icon" type="image/png" href="/favicon.png"/>
10 <link rel="manifest" type="applicaton/manifest+json" href="<%= Routes.masto_fe_path(Pleroma.Web.Endpoint, :manifest) %>" />
11
12 <meta name="theme-color" content="<%= Config.get([:manifest, :theme_color]) %>" />
13
14 <script crossorigin='anonymous' src="/packs/locales.js"></script>
15 <script crossorigin='anonymous' src="/packs/locales/glitch/en.js"></script>
16
17 <link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/getting_started.js'>
18 <link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/compose.js'>
19 <link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/home_timeline.js'>
20 <link rel='preload' as='script' crossorigin='anonymous' href='/packs/features/notifications.js'>
21 <script id='initial-state' type='application/json'><%= initial_state(@token, @user, @custom_emojis) %></script>
22
23 <script src="/packs/core/common.js"></script>
24 <link rel="stylesheet" media="all" href="/packs/core/common.css" />
25
26 <script src="/packs/flavours/glitch/common.js"></script>
27 <link rel="stylesheet" media="all" href="/packs/flavours/glitch/common.css" />
28
29 <script src="/packs/flavours/glitch/home.js"></script>
30 </head>
31 <body class='app-body no-reduce-motion system-font'>
32 <div class='app-holder' data-props='{&quot;locale&quot;:&quot;en&quot;}' id='mastodon'>
33 </div>
34 </body>
35 </html>