"> <%= render partial: "layouts/head" %> <%= discourse_csrf_tags %> <%- if SiteSetting.enable_escaped_fragments? %> <%- end %> <%- if shared_session_key %> <%- end %> <%= preload_script "locales/#{I18n.locale}" %> <%= preload_script "ember_jquery" %> <%= preload_script "preload-store" %> <%= preload_script "vendor" %> <%= preload_script "pretty-text-bundle" %> <%= preload_script "application" %> <%- if allow_plugins? %> <%= preload_script "plugin" %> <%- end %> <%- if allow_third_party_plugins? %> <%= preload_script "plugin-third-party" %> <%- end %> <%- if staff? %> <%= preload_script "admin" %> <%- end %> <%- unless customization_disabled? %> <%= raw theme_lookup("head_tag") %> <%- end %> <%= render_google_tag_manager_head_code %> <%= render_google_universal_analytics_code %> <%- if SiteSetting.native_app_install_banner? %> <%- end %> <%= render partial: "common/discourse_stylesheet" %> <%= yield :head %> <%= build_plugin_html 'server:before-head-close' %> <%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %> <%- if !current_user && cookies[:authentication_data] %> <%= preload_script "authentication-complete" %> <%- end %> <%= render_google_tag_manager_body_code %> <%- unless customization_disabled? %> <%= theme_lookup("header") %> <%= build_plugin_html 'server:header' %> <%- end %>
<% unless current_user %> <% end %> <%= preload_script "preload-application-data" %> <%= yield :data %> <%= preload_script 'browser-update' %> <%- unless customization_disabled? %> <%= raw theme_lookup("body_tag") %> <%- end %> <%= build_plugin_html 'server:before-body-close' %>