闭社主体 forked from https://github.com/tootsuite/mastodon
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.

19 lines
672 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. - 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