<%= render partial: "layouts/head" %> <%- if SiteSetting.enable_escaped_fragments? %> <%- end %> <%= script "preload_store" %> <%= script "locales/#{I18n.locale}" %> <%= script "vendor" %> <%= script "application" %> <%- if staff? %> <%= script "admin"%> <%- end %> <%= raw SiteText.text_for(:head) %> <%= 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 %>