Skip to content

A platform for community discussion. Free, open, simple.

DEV: add class to body of no_ember layout so it can targeted in CSS

Neil Lalonde8c9cc5b7728c
diff --git a/app/views/layouts/no_ember.html.erb b/app/views/layouts/no_ember.html.erb
index 196d658ef27..ca08de88c74 100644
--- a/app/views/layouts/no_ember.html.erb
+++ b/app/views/layouts/no_ember.html.erb
@@ -12,7 +12,7 @@
<%= yield(:no_ember_head) %>
<%= build_plugin_html 'server:before-head-close' %>
</head>
-<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
+<body class="no-ember <%= @custom_body_class %>">
<%= theme_lookup("header") %>
<%= build_plugin_html 'server:header' %>
<section id='main'>