mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 17:28:07 +01:00
b61e3daf98
* Initial multiple frontend support * Removed unnecessary require() * Moved styles/images out of common
13 lines
554 B
Text
13 lines
554 B
Text
- 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')
|