mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 04:43:47 +08:00
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><%=SiteSetting.title%></title>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
|
<meta content="" name="description">
|
|
<meta content="" name="author">
|
|
<link rel="icon" type="image/png" href=<%=SiteSetting.favicon_url%>>
|
|
<%= render :partial => "common/special_font_face" %>
|
|
<%= render :partial => "common/discourse_stylesheet" %>
|
|
<%= discourse_csrf_tags %>
|
|
<%= raw SiteContent.content_for(:head) %>
|
|
</head>
|
|
<body>
|
|
<%- unless customization_disabled? %>
|
|
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
|
<%- end %>
|
|
<section id='main'>
|
|
<header class="d-header">
|
|
<div class="container">
|
|
<div class="contents">
|
|
<div class="row">
|
|
<div class="title span13">
|
|
<a href="/"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>
|
|
</div>
|
|
<% unless current_user %>
|
|
<div class='panel clearfix'>
|
|
<a href="/login" class='btn btn-primary btn-small'><%= I18n.t('log_in') %></a>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div id="main-outlet" class="container">
|
|
<%= yield %>
|
|
</div>
|
|
</section>
|
|
<footer id='bottom'>
|
|
</footer>
|
|
</body>
|
|
</html>
|