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 }/
|
2020-10-13 02:19:35 +03:00
|
|
|
%meta{ name: 'cdn-host', content: cdn_host }/
|
2018-10-12 03:19:10 +03:00
|
|
|
|
|
|
|
- if storage_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: storage_host }/
|
|
|
|
|
2020-01-18 20:50:43 +02:00
|
|
|
= render_initial_state
|
2023-06-10 18:43:13 +03:00
|
|
|
= javascript_pack_tag 'common', crossorigin: 'anonymous'
|
2018-08-22 17:54:09 +03:00
|
|
|
- if @theme
|
|
|
|
- if @theme[:supported_locales].include? I18n.locale.to_s
|
2023-07-30 14:42:06 +03:00
|
|
|
= preload_pack_asset "locales/#{@theme[:flavour]}/#{I18n.locale}-json.js"
|
2018-08-22 17:54:09 +03:00
|
|
|
- elsif @theme[:supported_locales].include? 'en'
|
2023-07-30 14:42:06 +03:00
|
|
|
= preload_pack_asset "locales/#{@theme[:flavour]}/en-json.js"
|
2017-11-21 08:13:37 +02:00
|
|
|
= render partial: 'layouts/theme', object: @core
|
|
|
|
= render partial: 'layouts/theme', object: @theme
|
2018-10-22 18:51:38 +03:00
|
|
|
|
2016-12-18 16:20:39 +02:00
|
|
|
%body.embed
|
|
|
|
= yield
|
2020-01-18 20:50:43 +02:00
|
|
|
|
2022-06-10 18:34:59 +03:00
|
|
|
.logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => true }
|
2022-06-09 23:25:23 +03:00
|
|
|
= render_symbol :icon
|