2014-02-15 06:10:08 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>
|
2014-06-20 06:17:52 +08:00
|
|
|
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
2015-01-13 02:59:43 +08:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
2014-03-15 22:32:23 +08:00
|
|
|
<%= yield :head %>
|
2014-02-15 06:10:08 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div id="main-outlet" class="container">
|
|
|
|
<!-- preload-content: -->
|
|
|
|
<%= yield %>
|
|
|
|
<!-- :preload-content -->
|
|
|
|
</div>
|
2014-11-12 21:35:20 +08:00
|
|
|
<footer class="container">
|
2014-06-20 05:32:26 +08:00
|
|
|
<p><%= t 'powered_by_html' %></p>
|
|
|
|
</footer>
|
2014-02-15 06:10:08 +08:00
|
|
|
</body>
|
|
|
|
</html>
|