mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 01:04:23 +08:00
42494b5bb1
The page they have loaded may be cached we need a different way of delivering the CSRF potentially
41 lines
1.1 KiB
Plaintext
41 lines
1.1 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%>>
|
|
|
|
<%= render :partial => "common/special_font_face" %>
|
|
<%= render :partial => "common/discourse_stylesheet" %>
|
|
|
|
<%= discourse_csrf_tags %>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%=SiteCustomization.custom_header(session[:preview_style])%>
|
|
<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>
|