%= 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 staff? %> <%= script "admin" %> <%- end %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> <%- end %> <%= render_google_universal_analytics_code %> <%= yield :head %>
<%= render_google_tag_manager_code %> <%- unless customization_disabled? || loading_admin? %> <%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %> <%- end %>