You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
916 B

  1. !!! 5
  2. %html{ lang: I18n.locale }
  3. %head
  4. %meta{ charset: 'utf-8' }/
  5. %meta{ name: 'robots', content: 'noindex' }/
  6. - if cdn_host?
  7. %link{ rel: 'dns-prefetch', href: cdn_host }/
  8. %meta{ name: 'cdn-host', content: cdn_host }/
  9. - if storage_host?
  10. %link{ rel: 'dns-prefetch', href: storage_host }/
  11. = stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
  12. = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all', crossorigin: 'anonymous'
  13. = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
  14. = javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
  15. = render_initial_state
  16. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  17. %body.embed
  18. = yield
  19. .logo-resources
  20. = render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg')