2013-02-05 14:16:51 -05:00
|
|
|
<!DOCTYPE html>
|
2018-08-20 07:55:58 -04:00
|
|
|
<html lang="<%= html_lang %>">
|
2015-01-15 15:29:37 -05:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2017-06-12 13:50:30 -04:00
|
|
|
<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 %>
|
|
|
|
|
2015-01-15 15:56:53 -05:00
|
|
|
<%= 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>
|
2020-06-25 16:17:19 -04:00
|
|
|
<body class="no-ember <%= @custom_body_class %>">
|
2021-08-24 08:35:44 -04:00
|
|
|
<%- if allow_plugins? %>
|
|
|
|
<%= build_plugin_html 'server:after-body-open' %>
|
|
|
|
<%- end -%>
|
|
|
|
|
2021-06-15 02:57:17 -04:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= theme_lookup("header") %>
|
2021-06-17 22:16:26 -04:00
|
|
|
<%- end %>
|
|
|
|
|
|
|
|
<%- if allow_plugins? %>
|
2021-06-15 02:57:17 -04:00
|
|
|
<%= build_plugin_html 'server:header' %>
|
|
|
|
<%- end %>
|
|
|
|
|
2015-02-25 11:35:47 -05:00
|
|
|
<section id='main'>
|
2019-08-08 08:57:18 -04:00
|
|
|
<%= 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' %>">
|
2015-02-25 11:35:47 -05:00
|
|
|
<%= yield %>
|
2015-01-15 04:31:30 -05:00
|
|
|
</div>
|
2015-02-25 11:35:47 -05:00
|
|
|
</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>
|