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