mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-21 21:12:39 -05:00
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
<!DOCTYPE html>
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
<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? %>
|
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
|
<%- end %>
|
|
<%= yield(:no_ember_head) %>
|
|
</head>
|
|
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
|
|
<%- unless customization_disabled? %>
|
|
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|
|
<section id='main'>
|
|
<%= render partial: 'header' %>
|
|
<div id="main-outlet" class="<%= @container_class ? @container_class : 'wrap' %>">
|
|
<%= yield %>
|
|
</div>
|
|
</section>
|
|
<%- unless customization_disabled? %>
|
|
<%= SiteCustomization.custom_footer(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|
|
</body>
|
|
</html>
|