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