2016-12-18 14:20:39 +00:00
|
|
|
!!! 5
|
2017-05-08 01:35:25 +00:00
|
|
|
%html{ lang: I18n.locale }
|
2016-12-18 14:20:39 +00:00
|
|
|
%head
|
2017-05-08 01:35:25 +00:00
|
|
|
%meta{ charset: 'utf-8' }/
|
2017-07-14 14:41:02 +00:00
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
|
2018-10-12 00:19:10 +00:00
|
|
|
- if cdn_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
2020-10-12 23:19:35 +00:00
|
|
|
%meta{ name: 'cdn-host', content: cdn_host }/
|
2018-10-12 00:19:10 +00:00
|
|
|
|
|
|
|
- if storage_host?
|
|
|
|
%link{ rel: 'dns-prefetch', href: storage_host }/
|
|
|
|
|
2020-01-18 18:50:43 +00:00
|
|
|
= render_initial_state
|
2020-11-07 17:19:34 +00:00
|
|
|
= javascript_pack_tag "locales", crossorigin: 'anonymous'
|
2018-08-22 14:54:09 +00:00
|
|
|
- if @theme
|
|
|
|
- if @theme[:supported_locales].include? I18n.locale.to_s
|
2020-11-07 17:19:34 +00:00
|
|
|
= javascript_pack_tag "locales/#{@theme[:flavour]}/#{I18n.locale}", crossorigin: 'anonymous'
|
2018-08-22 14:54:09 +00:00
|
|
|
- elsif @theme[:supported_locales].include? 'en'
|
2020-11-07 17:19:34 +00:00
|
|
|
= javascript_pack_tag "locales/#{@theme[:flavour]}/en", crossorigin: 'anonymous'
|
2017-11-21 06:13:37 +00:00
|
|
|
= render partial: 'layouts/theme', object: @core
|
|
|
|
= render partial: 'layouts/theme', object: @theme
|
2018-10-22 15:51:38 +00:00
|
|
|
|
2016-12-18 14:20:39 +00:00
|
|
|
%body.embed
|
|
|
|
= yield
|
2020-01-18 18:50:43 +00:00
|
|
|
|
2020-04-28 08:16:55 +00:00
|
|
|
.logo-resources
|
2021-04-05 11:05:49 +00:00
|
|
|
= raw render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg')
|