Remove pl-dark-masto-fe, add preloading for common scripts
This commit is contained in:
parent
ce1f66aa2d
commit
7f2174d811
|
@ -9,14 +9,17 @@
|
||||||
<link rel="icon" type="image/png" href="/favicon.png"/>
|
<link rel="icon" type="image/png" href="/favicon.png"/>
|
||||||
<link rel="stylesheet" media="all" href="/packs/common.css" />
|
<link rel="stylesheet" media="all" href="/packs/common.css" />
|
||||||
<link rel="stylesheet" media="all" href="/packs/default.css" />
|
<link rel="stylesheet" media="all" href="/packs/default.css" />
|
||||||
<link rel="stylesheet" media="all" href="/packs/pl-dark-masto-fe.css" />
|
|
||||||
|
|
||||||
<script src="/packs/common.js"></script>
|
<script src="/packs/common.js"></script>
|
||||||
<script src="/packs/locale_en.js"></script>
|
<script src="/packs/locale_en.js"></script>
|
||||||
|
<link as='script' crossorigin='anonymous' href='/packs/features/getting_started.js' rel='preload'>
|
||||||
|
<link as='script' crossorigin='anonymous' href='/packs/features/compose.js' rel='preload'>
|
||||||
|
<link as='script' crossorigin='anonymous' href='/packs/features/home_timeline.js' rel='preload'>
|
||||||
|
<link as='script' crossorigin='anonymous' href='/packs/features/notifications.js' rel='preload'>
|
||||||
<script id='initial-state' type='application/json'><%= raw @initial_state %></script>
|
<script id='initial-state' type='application/json'><%= raw @initial_state %></script>
|
||||||
<script src="/packs/application.js"></script>
|
<script src="/packs/application.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class='app-body'>
|
<body class='app-body no-reduce-motion'>
|
||||||
<div class='app-holder' data-props='{"locale":"en"}' id='mastodon'>
|
<div class='app-holder' data-props='{"locale":"en"}' id='mastodon'>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue