<%= render partial: "layouts/head" %> <%- if SiteSetting.enable_escaped_fragments? %> <%- end %> <%- if shared_session_key %> <%- end %> <%= script "preload_store" %> <%= script "locales/#{I18n.locale}" %> <%= script "vendor" %> <%= script "application" %> <%- if staff? %> <%= script "admin"%> <%- end %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> <%- end %> <%= render_google_universal_analytics_code %> <%= yield :head %> <%- unless customization_disabled? %> <%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %> <%- end %>
<% unless current_user %> <% end %> <%- if @preloaded.present? %> <%- end %> <%= yield :data %> <%= render :partial => "common/discourse_javascript" %> <%= render_google_analytics_code %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_body_tag(session[:preview_style]) %> <%- end %>