2016-09-24 14:47:51 +03:00
|
|
|
- content_for :header_tags do
|
2018-04-20 03:06:53 +03:00
|
|
|
= preload_link_tag asset_pack_path('features/getting_started.js'), crossorigin: 'anonymous'
|
|
|
|
= preload_link_tag asset_pack_path('features/compose.js'), crossorigin: 'anonymous'
|
|
|
|
= preload_link_tag asset_pack_path('features/home_timeline.js'), crossorigin: 'anonymous'
|
|
|
|
= preload_link_tag asset_pack_path('features/notifications.js'), crossorigin: 'anonymous'
|
|
|
|
|
2017-07-13 23:15:32 +03:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2017-07-08 15:51:05 +03:00
|
|
|
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
2017-01-09 13:37:15 +02:00
|
|
|
|
2017-05-03 03:04:16 +03:00
|
|
|
= javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
|
2016-09-24 14:47:51 +03:00
|
|
|
|
2017-05-08 04:35:25 +03:00
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-08 01:52:56 +03:00
|
|
|
%noscript
|
2017-07-23 21:28:06 +03:00
|
|
|
= image_tag asset_pack_path('logo.svg'), alt: 'Mastodon'
|
|
|
|
|
2017-06-08 01:52:56 +03:00
|
|
|
%div
|
2017-09-02 02:52:28 +03:00
|
|
|
= t('errors.noscript_html')
|