2014-02-15 06:10:08 +08:00
|
|
|
<!DOCTYPE html>
|
2018-08-20 19:55:58 +08:00
|
|
|
<html lang="<%= html_lang %>">
|
2014-02-15 06:10:08 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2017-06-13 01:50:30 +08:00
|
|
|
<title><%= content_for?(:title) ? yield(: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" %>
|
2022-04-07 00:10:46 +08:00
|
|
|
<%= render partial: "common/discourse_stylesheet" %>
|
2017-04-12 22:52:52 +08:00
|
|
|
<%= theme_lookup("head_tag") %>
|
2015-02-02 16:49:58 +08:00
|
|
|
<%= render_google_universal_analytics_code %>
|
2014-03-15 22:32:23 +08:00
|
|
|
<%= yield :head %>
|
2021-03-23 01:41:42 +08:00
|
|
|
<% if show_browser_update? %>
|
|
|
|
<style>.buorg {position:absolute; z-index:111111; width:100%; top:0px; left:0px; background:#FDF2AB; text-align:left; font-family: sans-serif; color:#000; font-size: 14px;} .buorg div {padding: 8px;} .buorg a, .buorg a:visited {color:#E25600; text-decoration: underline;} @media print { .buorg { display: none !important; } }</style>
|
|
|
|
<% end %>
|
2018-10-25 13:31:05 +08:00
|
|
|
<%= build_plugin_html 'server:before-head-close-crawler' %>
|
2014-02-15 06:10:08 +08:00
|
|
|
</head>
|
2016-11-15 04:32:59 +08:00
|
|
|
<body class="crawler">
|
2017-04-12 22:52:52 +08:00
|
|
|
<%= theme_lookup("header") %>
|
2022-04-07 22:07:00 +08:00
|
|
|
<%= render partial: "layouts/noscript_header" %>
|
|
|
|
<div id="main-outlet" class="wrap" role="main">
|
2014-02-15 06:10:08 +08:00
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2022-04-07 22:07:00 +08:00
|
|
|
<%= render partial: "layouts/noscript_footer" %>
|
2019-07-31 01:00:46 +08:00
|
|
|
<%= theme_lookup("footer") %>
|
2017-04-12 22:52:52 +08:00
|
|
|
<%= theme_lookup("body_tag") %>
|
2021-03-23 01:41:42 +08:00
|
|
|
<% if show_browser_update? %>
|
|
|
|
<div class="buorg"><div><%= I18n.t("js.browser_update").html_safe %></div></div>
|
|
|
|
<% end %>
|
2014-02-15 06:10:08 +08:00
|
|
|
</body>
|
2016-08-01 13:06:55 +08:00
|
|
|
<%= yield :after_body %>
|
2014-02-15 06:10:08 +08:00
|
|
|
</html>
|