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