2016-09-24 04:47:51 -07:00
|
|
|
- content_for :header_tags do
|
2020-11-06 02:56:31 -08:00
|
|
|
= preload_pack_asset 'features/getting_started.js', crossorigin: 'anonymous'
|
|
|
|
= preload_pack_asset 'features/compose.js', crossorigin: 'anonymous'
|
|
|
|
= preload_pack_asset 'features/home_timeline.js', crossorigin: 'anonymous'
|
|
|
|
= preload_pack_asset 'features/notifications.js', crossorigin: 'anonymous'
|
2018-04-19 17:06:53 -07:00
|
|
|
|
2017-07-13 13:15:32 -07:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2019-08-16 10:15:05 -07:00
|
|
|
= render_initial_state
|
2020-11-06 02:56:31 -08:00
|
|
|
= javascript_pack_tag 'application', crossorigin: 'anonymous'
|
2016-09-24 04:47:51 -07:00
|
|
|
|
2017-05-07 18:35:25 -07:00
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-07 15:52:56 -07:00
|
|
|
%noscript
|
2019-03-15 07:05:31 -07:00
|
|
|
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
2017-07-23 11:28:06 -07:00
|
|
|
|
2017-06-07 15:52:56 -07:00
|
|
|
%div
|
2018-10-05 22:33:36 -07:00
|
|
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|