mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:18:06 +08:00
850b042cab
under rack cache we are able to serve 620reqs a second per thin (on my machine) before it 12 (on my machine) reorganised so mini profilers can be cleanly disabled from config file added caching for categories index move production.rb to production.sample.rb
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<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%>>
|
|
|
|
<%=stylesheet_link_tag "application"%>
|
|
<%- if current_user.try(:admin) %>
|
|
<%= stylesheet_link_tag "admin"%>
|
|
<%- end %>
|
|
|
|
<%=csrf_meta_tags%>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div id="main-outlet" class="container">
|
|
<%= yield %>
|
|
</div>
|
|
</section>
|
|
|
|
<footer id='bottom'>
|
|
</footer>
|
|
</body>
|
|
</html>
|