2016-12-18 15:20:39 +01:00
|
|
|
!!! 5
|
2017-05-08 03:35:25 +02:00
|
|
|
%html{ lang: I18n.locale }
|
2016-12-18 15:20:39 +01:00
|
|
|
%head
|
2017-05-08 03:35:25 +02:00
|
|
|
%meta{ charset: 'utf-8' }/
|
2017-07-14 16:41:02 +02:00
|
|
|
%meta{ name: 'robots', content: 'noindex' }/
|
|
|
|
|
2017-11-22 03:17:38 +01:00
|
|
|
= javascript_pack_tag "locales", integrity: true, crossorigin: 'anonymous'
|
2018-08-22 16:54:09 +02: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 07:13:37 +01:00
|
|
|
= render partial: 'layouts/theme', object: @core
|
|
|
|
= render partial: 'layouts/theme', object: @theme
|
2016-12-18 15:20:39 +01:00
|
|
|
= yield
|