%= 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 "locales/#{I18n.locale}" %> <%= script "ember_jquery" %> <%= script "preload-store" %> <%= script "vendor" %> <%= script "pretty-text-bundle" %> <%= script "application" %> <%- if allow_plugins? %> <%= script "plugin" %> <%- end %> <%- if allow_third_party_plugins? %> <%= script "plugin-third-party" %> <%- end %> <%- if staff? %> <%= script "admin" %> <%- end %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> <%- end %> <%= render_google_universal_analytics_code %> <%- if SiteSetting.native_app_install_banner? %> <%- end %> <%= yield :head %>
<%= render_google_tag_manager_code %> <%- unless customization_disabled? || loading_admin? %> <%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %> <%- end %>