2016-12-18 16:20:39 +02:00
|
|
|
!!! 5
|
2017-05-08 04:35:25 +03:00
|
|
|
%html{ lang: I18n.locale }
|
2016-12-18 16:20:39 +02:00
|
|
|
%head
|
2017-05-08 04:35:25 +03:00
|
|
|
%meta{ charset: 'utf-8' }/
|
2017-07-14 17:41:02 +03:00
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
|
2018-10-12 03:19:10 +03:00
|
|
|
- if cdn_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
|
|
|
|
|
|
|
- if storage_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: storage_host }/
|
|
|
|
|
2017-07-11 16:15:42 +03:00
|
|
|
= stylesheet_pack_tag 'common', media: 'all'
|
2017-09-19 17:36:23 +03:00
|
|
|
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
|
2017-06-05 11:08:31 +03:00
|
|
|
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
|
|
|
|
= javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
|
2017-05-03 03:04:16 +03:00
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
2016-12-18 16:20:39 +02:00
|
|
|
%body.embed
|
|
|
|
= yield
|