embedded.html.haml 672 B

12345678910111213141516171819
  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. - if storage_host?
  9. %link{ rel: 'dns-prefetch', href: storage_host }/
  10. = stylesheet_pack_tag 'common', media: 'all'
  11. = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
  12. = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
  13. = javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
  14. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  15. %body.embed
  16. = yield