2013-02-06 03:16:51 +08:00
|
|
|
<!DOCTYPE html>
|
2013-07-05 02:32:16 +08:00
|
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
2015-01-16 04:29:37 +08: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? %>
|
2015-01-14 18:52:42 +08:00
|
|
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
2015-01-16 04:29:37 +08:00
|
|
|
<%- end %>
|
2015-01-16 04:56:53 +08:00
|
|
|
<%= yield(:no_ember_head) %>
|
2015-01-16 04:29:37 +08:00
|
|
|
</head>
|
2016-05-06 02:37:09 +08:00
|
|
|
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
|
2015-02-26 00:35:47 +08:00
|
|
|
<%- unless customization_disabled? %>
|
2015-08-05 22:14:26 +08:00
|
|
|
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
2015-02-26 00:35:47 +08:00
|
|
|
<%- end %>
|
|
|
|
<section id='main'>
|
|
|
|
<%= render partial: 'header' %>
|
2015-07-28 16:02:39 +08:00
|
|
|
<div id="main-outlet" class="<%= @container_class ? @container_class : 'wrap' %>">
|
2015-02-26 00:35:47 +08:00
|
|
|
<%= yield %>
|
2015-01-15 17:31:30 +08:00
|
|
|
</div>
|
2015-02-26 00:35:47 +08:00
|
|
|
</section>
|
2015-08-05 22:14:26 +08:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= SiteCustomization.custom_footer(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
|
|
|
<%- end %>
|
2015-01-16 04:29:37 +08:00
|
|
|
</body>
|
2013-02-06 03:16:51 +08:00
|
|
|
</html>
|