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

30 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-02-06 03:16:51 +08:00
<!DOCTYPE html>
<html lang="<%= html_lang %>">
2015-01-16 04:29:37 +08:00
<head>
<meta charset="utf-8">
<title><%= content_for?(:title) ? yield(:title) : SiteSetting.title %></title>
2015-01-16 04:29:37 +08:00
<meta name="description" content="">
<%= render partial: "layouts/head" %>
<%= render partial: "common/discourse_stylesheet" %>
<%= discourse_csrf_tags %>
<%= theme_lookup("head_tag") %>
<%= yield(:no_ember_head) %>
<%= build_plugin_html 'server:before-head-close' %>
2015-01-16 04:29:37 +08:00
</head>
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
<%= theme_lookup("header") %>
<%= build_plugin_html 'server:header' %>
<section id='main'>
<%= render partial: 'header', locals: { hide_auth_buttons: local_assigns[:hide_auth_buttons] } %>
2015-07-28 16:02:39 +08:00
<div id="main-outlet" class="<%= @container_class ? @container_class : 'wrap' %>">
<%= yield %>
2015-01-15 17:31:30 +08:00
</div>
</section>
<%= theme_lookup("footer") %>
<%= theme_lookup("body_tag") %>
<%= build_plugin_html 'no-client:footer' %>
<%= build_plugin_html 'server:before-body-close' %>
2015-01-16 04:29:37 +08:00
</body>
2013-02-06 03:16:51 +08:00
</html>