2016-09-24 11:47:51 +00:00
|
|
|
- content_for :header_tags do
|
2022-09-29 02:39:33 +00:00
|
|
|
- if user_signed_in?
|
|
|
|
= 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'
|
|
|
|
|
|
|
|
= render partial: 'shared/og'
|
2018-04-20 00:06:53 +00:00
|
|
|
|
2017-07-13 20:15:32 +00:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2022-09-29 02:39:33 +00:00
|
|
|
|
2019-08-16 17:15:05 +00:00
|
|
|
= render_initial_state
|
2017-01-09 11:37:15 +00:00
|
|
|
|
2021-01-21 13:29:54 +00:00
|
|
|
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-07 22:52:56 +00:00
|
|
|
%noscript
|
2019-03-15 14:05:31 +00:00
|
|
|
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
2017-07-23 18:28:06 +00:00
|
|
|
|
2017-06-07 22:52:56 +00:00
|
|
|
%div
|
2018-10-06 05:33:36 +00:00
|
|
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|