2016-09-24 07:47:51 -04:00
|
|
|
- content_for :header_tags do
|
2017-07-13 16:15:32 -04:00
|
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
2017-07-08 08:51:05 -04:00
|
|
|
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
2017-01-09 06:37:15 -05:00
|
|
|
|
2017-07-30 13:28:21 -04:00
|
|
|
= javascript_pack_tag "frontends/#{@frontend}", integrity: true, crossorigin: 'anonymous'
|
|
|
|
= stylesheet_pack_tag "frontends/#{@frontend}", integrity: true, media: 'all'
|
2016-09-24 07:47:51 -04:00
|
|
|
|
2017-05-07 21:35:25 -04:00
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
2017-06-07 18:52:56 -04:00
|
|
|
%noscript
|
2017-07-23 14:28:06 -04:00
|
|
|
= image_tag asset_pack_path('logo.svg'), alt: 'Mastodon'
|
|
|
|
|
2017-06-07 18:52:56 -04:00
|
|
|
%div
|
2017-09-01 19:52:28 -04:00
|
|
|
= t('errors.noscript_html')
|