%= content_tag(:html, lang: I18n.locale) do %>
<%= @page_title.presence || 'Pageflow' %>
<%= javascript_include_tag "pageflow/application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
<%= yield :head %>
<%= stylesheet_link_tag 'pageflow/print_view', media: 'print', 'data-turbolinks-track' => true %>
<%= render 'layouts/pageflow/loading_spinner_inline_script' %>
<%= render 'layouts/pageflow/ie_include_tags' %>
<%= content_tag :body, :class => [@body_class, 'load_all_images has_no_mobile_platform non_js'].compact.flatten.join(' ') do %>
<%= yield %>
<% end %>
<% end %>