1
0

index.html.haml 802 B

12345678910111213141516
  1. - content_for :header_tags do
  2. = preload_link_tag asset_pack_path('features/getting_started.js'), crossorigin: 'anonymous'
  3. = preload_link_tag asset_pack_path('features/compose.js'), crossorigin: 'anonymous'
  4. = preload_link_tag asset_pack_path('features/home_timeline.js'), crossorigin: 'anonymous'
  5. = preload_link_tag asset_pack_path('features/notifications.js'), crossorigin: 'anonymous'
  6. %meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
  7. = render_initial_state
  8. = javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
  9. .app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
  10. %noscript
  11. = image_pack_tag 'logo.svg', alt: 'Mastodon'
  12. %div
  13. = t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')