discourse/app/views/layouts/no_ember.html.erb

32 lines
1.1 KiB
Text
Raw Normal View History

2013-02-05 14:16:51 -05:00
<!DOCTYPE html>
<html lang="<%= SiteSetting.default_locale %>">
2015-01-15 15:29:37 -05:00
<head>
<meta charset="utf-8">
<title><%=SiteSetting.title%></title>
<meta name="description" content="">
<%= 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]) %>
2015-01-15 15:29:37 -05:00
<%- end %>
<%= yield(:no_ember_head) %>
2015-01-15 15:29:37 -05:00
</head>
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>
<section id='main'>
<%= render partial: 'header' %>
2015-07-28 04:02:39 -04:00
<div id="main-outlet" class="<%= @container_class ? @container_class : 'wrap' %>">
<%= yield %>
2015-01-15 04:31:30 -05:00
</div>
</section>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_footer(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>
2015-01-15 15:29:37 -05:00
</body>
2013-02-05 14:16:51 -05:00
</html>