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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2013-02-05 14:16:51 -05:00
<!DOCTYPE html>
<html lang="<%= html_lang %>">
2015-01-15 15:29:37 -05:00
<head>
<meta charset="utf-8">
<title><%= content_for?(:title) ? yield(:title) : SiteSetting.title %></title>
2015-01-15 15:29:37 -05:00
<meta name="description" content="">
<%= render partial: "layouts/head" %>
<%= render partial: "common/discourse_stylesheet" %>
<%= discourse_csrf_tags %>
2021-06-17 22:16:26 -04:00
<%- unless customization_disabled? %>
<%= theme_lookup("head_tag") %>
<%- end %>
<%= yield(:no_ember_head) %>
2021-06-17 22:16:26 -04:00
<%- if allow_plugins? %>
<%= build_plugin_html 'server:before-head-close' %>
<%- end -%>
2015-01-15 15:29:37 -05:00
</head>
<body class="no-ember <%= @custom_body_class %>">
<%- if allow_plugins? %>
<%= build_plugin_html 'server:after-body-open' %>
<%- end -%>
<%- unless customization_disabled? %>
<%= theme_lookup("header") %>
2021-06-17 22:16:26 -04:00
<%- end %>
<%- if allow_plugins? %>
<%= build_plugin_html 'server:header' %>
<%- end %>
<section id='main'>
<%= render partial: 'header', locals: { hide_auth_buttons: local_assigns[:hide_auth_buttons] } %>
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>
2021-06-17 22:16:26 -04:00
<%- unless customization_disabled? %>
<%= theme_lookup("footer") %>
<%= theme_lookup("body_tag") %>
<%- end %>
<%- if allow_plugins? %>
<%= build_plugin_html 'no-client:footer' %>
<%= build_plugin_html 'server:before-body-close' %>
<%- end %>
2015-01-15 15:29:37 -05:00
</body>
2013-02-05 14:16:51 -05:00
</html>