<%- if SiteSetting.enable_escaped_fragments? %> <%- end %> <%= canonical_link_tag %> <%= javascript_include_tag "preload_store" %> <%= javascript_include_tag "locales/#{I18n.locale}" %> <%= javascript_include_tag "vendor" %> <%= javascript_include_tag "application" %> <%- if staff? %> <%= javascript_include_tag "admin"%> <%- end %> <%= render :partial => "common/special_font_face" %> <%= render :partial => "common/discourse_stylesheet" %> <%= discourse_csrf_tags %> <%= raw SiteContent.content_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 %>