%= render partial: "layouts/head" %> <%= render partial: "common/special_font_face" %> <%= render partial: "common/discourse_stylesheet" %> <%= discourse_csrf_tags %> <%- if SiteSetting.enable_escaped_fragments? %> <%- end %> <%- if shared_session_key %> <%- end %> <%= script "preload_store" %> <%= script "locales/#{I18n.locale}" %> <%= script "ember_jquery" %> <%= 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? || loading_admin? %> <%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %> <%- end %>