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