<%= render partial: "layouts/head" %> <%- if rtl? %> <%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %> <%- else %> <%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %> <%- end %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> <%- end %> <%= render_google_universal_analytics_code %> <%= yield :head %> <%- unless customization_disabled? %> <%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %> <%- end %>
">
<%= yield %>
<%= render_google_analytics_code %> <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_body_tag(session[:preview_style]) %> <%- end %> <%= yield :after_body %>