mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-16 03:35:16 +00:00
b61e3daf98
* Initial multiple frontend support * Removed unnecessary require() * Moved styles/images out of common
14 lines
554 B
Plaintext
14 lines
554 B
Plaintext
- content_for :header_tags do
|
|
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
|
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
|
|
|
= javascript_pack_tag "frontends/#{@frontend}", integrity: true, crossorigin: 'anonymous'
|
|
= stylesheet_pack_tag "frontends/#{@frontend}", integrity: true, media: 'all'
|
|
|
|
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
|
%noscript
|
|
= image_tag asset_pack_path('logo.svg'), alt: 'Mastodon'
|
|
|
|
%div
|
|
= t('errors.noscript')
|