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