mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 09:04:00 -05:00
5b0382abc5
* Remove redundant asset preload preloading these is already handled by glitch-soc theming system, meaning glitch packs get preloaded and if the user is signed in, vanilla packs. The theming system preloads these unconditionally though. Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com> * Remove preload of getting started This matches upstreams preloads Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com> --------- Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
- content_for :header_tags do
|
|
- if user_signed_in?
|
|
%meta{ name: 'initialPath', content: request.path }
|
|
|
|
%meta{ name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key }
|
|
|
|
= render_initial_state
|
|
|
|
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
|
%noscript
|
|
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
|
|
|
%div
|
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|