Sha256: 23f41d61d9cfd69cab72504d5a93a96ff9864ee2ebf3e3b8e88822ab05841a6b

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

- if current_site
  title== escape_once("#{Locomotive.config.name} — #{current_site.name}")
- else
  title= escape_once(Locomotive.config.name)

= csrf_meta_tag

- key = Rails.application.config.session_options[:key]

meta name='key-param' content=Rails.application.config.session_options[:key]
meta name='key-token' content=cookies[key]

link rel="icon" type="image/png" href="#{asset_url('locomotive/favicon.png')}" sizes="32x32"

javascript:
  window.Locomotive = { mounted_on: '#{Locomotive.mounted_on}' }

= stylesheet_link_tag     'locomotive/application', media: 'screen'
= javascript_include_tag  'locomotive'

= render 'locomotive/shared/main_app_head_before_backbone'

javascript:
  window.locale                     = '#{I18n.locale}';
  window.content_locale             = '#{::Mongoid::Fields::I18n.locale}';

  $(document).ready(function() {

    window.application_view = new Locomotive.Views.ApplicationView({
      flash:      #{{flash_messages_to_json}},
      view:       #{backbone_view_class_name}
    });
    window.application_view.render();

  });

= yield :head

= render 'locomotive/shared/main_app_head'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
locomotivecms-3.0.1 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc7 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc6 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc5 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc3 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc2 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.rc1 app/views/locomotive/shared/_head.html.slim
locomotivecms-3.0.0.pre.beta.1 app/views/locomotive/shared/_head.html.slim