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