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