2016-12-19 01:20:39 +11:00
|
|
|
!!! 5
|
2017-05-08 11:35:25 +10:00
|
|
|
%html{ lang: I18n.locale }
|
2016-12-19 01:20:39 +11:00
|
|
|
%head
|
2017-05-08 11:35:25 +10:00
|
|
|
%meta{ charset: 'utf-8' }/
|
2017-07-15 00:41:02 +10:00
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
|
2018-10-12 11:19:10 +11:00
|
|
|
- if cdn_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
2020-10-13 10:19:35 +11:00
|
|
|
%meta{ name: 'cdn-host', content: cdn_host }/
|
2018-10-12 11:19:10 +11:00
|
|
|
|
|
|
|
- if storage_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: storage_host }/
|
|
|
|
|
2020-11-06 21:56:31 +11:00
|
|
|
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
|
|
|
|
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all', crossorigin: 'anonymous'
|
2017-06-05 18:08:31 +10:00
|
|
|
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
|
|
|
|
= javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
|
2020-01-19 05:50:43 +11:00
|
|
|
= render_initial_state
|
2017-05-03 10:04:16 +10:00
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
2016-12-19 01:20:39 +11:00
|
|
|
%body.embed
|
|
|
|
= yield
|
2020-01-19 05:50:43 +11:00
|
|
|
|
2020-04-28 18:16:55 +10:00
|
|
|
.logo-resources
|
2021-04-05 21:05:49 +10:00
|
|
|
= raw render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg')
|