2016-09-24 12:47:51 +01:00
|
|
|
- content_for :header_tags do
|
2018-04-20 01:06:53 +01: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 21:15:32 +01:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2017-07-08 13:51:05 +01:00
|
|
|
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
2017-01-09 11:37:15 +00:00
|
|
|
|
2017-05-08 02:35:25 +01:00
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-07 23:52:56 +01:00
|
|
|
%noscript
|
2019-03-15 14:05:31 +00:00
|
|
|
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
2017-07-23 19:28:06 +01:00
|
|
|
|
2017-06-07 23:52:56 +01:00
|
|
|
%div
|
2018-10-06 06:33:36 +01:00
|
|
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|