mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:03:44 +08:00
30 lines
1008 B
Plaintext
30 lines
1008 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><%= content_for?(:title) ? yield(: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 %>
|
|
|
|
<%= theme_lookup("head_tag") %>
|
|
<%= yield(:no_ember_head) %>
|
|
<%= build_plugin_html 'server:before-head-close' %>
|
|
</head>
|
|
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
|
|
<%= theme_lookup("header") %>
|
|
<%= build_plugin_html 'server:header' %>
|
|
<section id='main'>
|
|
<%= render partial: 'header' %>
|
|
<div id="main-outlet" class="<%= @container_class ? @container_class : 'wrap' %>">
|
|
<%= yield %>
|
|
</div>
|
|
</section>
|
|
<%= theme_lookup("footer") %>
|
|
<%= build_plugin_html 'no-client:footer' %>
|
|
<%= build_plugin_html 'server:before-body-close' %>
|
|
</body>
|
|
</html>
|