2016-09-24 11:47:51 +00:00
|
|
|
- content_for :header_tags do
|
2018-04-20 00:06:53 +00: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 20:15:32 +00:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2019-08-16 17:15:05 +00:00
|
|
|
= render_initial_state
|
2017-05-03 00:04:16 +00:00
|
|
|
= javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
|
2016-09-24 11:47:51 +00:00
|
|
|
|
2017-05-08 01:35:25 +00:00
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-07 22:52:56 +00:00
|
|
|
%noscript
|
2019-09-16 21:04:02 +00:00
|
|
|
= image_pack_tag 'logo.svg', alt: site_title
|
2017-07-23 18:28:06 +00:00
|
|
|
|
2017-06-07 22:52:56 +00:00
|
|
|
%div
|
2019-09-13 00:09:33 +00:00
|
|
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps', title: site_title)
|