diff --git a/app/views/layouts/no_js.html.erb b/app/views/layouts/no_js.html.erb index 27a974dbe00..6b091097515 100644 --- a/app/views/layouts/no_js.html.erb +++ b/app/views/layouts/no_js.html.erb @@ -1,30 +1,43 @@ - - - <%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %> - - <%= render partial: "layouts/head" %> - <%- unless customization_disabled? %> + + + <%=SiteSetting.title%> + + <%= render partial: "layouts/head" %> + <%= render partial: "common/special_font_face" %> + <%= render partial: "common/discourse_stylesheet" %> + <%= discourse_csrf_tags %> + + <%- unless customization_disabled? %> <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> - <%- end %> - <%= yield(:no_js_head) %> - - - - <%- unless customization_disabled? %> - <%= SiteCustomization.custom_header(session[:preview_style]) %> - <%- end %> -
- -
-
- <%= yield %> + <%- end %> + <%= yield(:no_js_head) %> + + +<%- unless customization_disabled? %> + <%= SiteCustomization.custom_header(session[:preview_style]) %> +<%- end %> +
+
+
+
+
+
+ +
+ <% unless current_user %> + + <% end %> +
+
-
-

<%= t 'powered_by_html' %>

-
- +
+
+ <%= yield %> +
+
+