mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 16:58:06 +01: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>
14 lines
451 B
Text
14 lines
451 B
Text
- 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')
|