2014-02-14 16:10:08 -06:00
|
|
|
<!DOCTYPE html>
|
2018-08-20 06:55:58 -05:00
|
|
|
<html lang="<%= html_lang %>">
|
2014-02-14 16:10:08 -06:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2017-06-12 12:50:30 -05:00
|
|
|
<title><%= content_for?(:title) ? yield(:title) : SiteSetting.title %></title>
|
2014-06-19 17:17:52 -05:00
|
|
|
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
2022-04-06 11:10:46 -05:00
|
|
|
<%= render partial: "common/discourse_stylesheet" %>
|
2017-04-12 09:52:52 -05:00
|
|
|
<%= theme_lookup("head_tag") %>
|
2015-02-02 02:49:58 -06:00
|
|
|
<%= render_google_universal_analytics_code %>
|
2014-03-15 09:32:23 -05:00
|
|
|
<%= yield :head %>
|
2021-03-22 12:41:42 -05: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 00:31:05 -05:00
|
|
|
<%= build_plugin_html 'server:before-head-close-crawler' %>
|
2014-02-14 16:10:08 -06:00
|
|
|
</head>
|
2016-11-14 14:32:59 -06:00
|
|
|
<body class="crawler">
|
2017-04-12 09:52:52 -05:00
|
|
|
<%= theme_lookup("header") %>
|
2015-01-15 03:31:30 -06:00
|
|
|
<header>
|
2018-11-07 16:28:45 -06:00
|
|
|
<a href="<%= path "/" %>">
|
2022-04-02 10:47:01 -05:00
|
|
|
<h1><%=SiteSetting.title%></h1>
|
2018-11-07 16:28:45 -06:00
|
|
|
</a>
|
2014-02-14 16:10:08 -06:00
|
|
|
</header>
|
2015-07-28 03:02:39 -05:00
|
|
|
<div id="main-outlet" class="wrap">
|
2014-02-14 16:10:08 -06:00
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2019-04-03 04:58:00 -05:00
|
|
|
<footer class="container wrap">
|
2020-04-29 13:40:21 -05:00
|
|
|
<nav class='crawler-nav'>
|
2019-06-02 21:03:16 -05:00
|
|
|
<ul>
|
2020-05-05 08:56:04 -05:00
|
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<span itemprop='name'>
|
|
|
|
<a href='<%= path "/" %>' itemprop="url"><%= t 'home_title' %> </a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<span itemprop='name'>
|
|
|
|
<a href='<%= path "/categories" %>' itemprop="url"><%= t 'js.filters.categories.title' %> </a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<span itemprop='name'>
|
|
|
|
<a href='<%= path "/guidelines" %>' itemprop="url"><%= t 'guidelines_topic.title' %> </a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<span itemprop='name'>
|
|
|
|
<a href='<%= path "/tos" %>' itemprop="url"><%= t 'tos_topic.title' %> </a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<span itemprop='name'>
|
|
|
|
<a href='<%= path "/privacy" %>' itemprop="url"><%= t 'privacy_topic.title' %> </a>
|
|
|
|
</span>
|
|
|
|
</li>
|
2019-06-02 21:03:16 -05:00
|
|
|
</ul>
|
2015-02-13 05:34:22 -06:00
|
|
|
</nav>
|
2018-11-01 17:18:07 -05:00
|
|
|
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
|
2014-06-19 16:32:26 -05:00
|
|
|
</footer>
|
2019-07-30 12:00:46 -05:00
|
|
|
<%= theme_lookup("footer") %>
|
2017-04-12 09:52:52 -05:00
|
|
|
<%= theme_lookup("body_tag") %>
|
2021-03-22 12:41:42 -05:00
|
|
|
<% if show_browser_update? %>
|
|
|
|
<div class="buorg"><div><%= I18n.t("js.browser_update").html_safe %></div></div>
|
|
|
|
<% end %>
|
2014-02-14 16:10:08 -06:00
|
|
|
</body>
|
2016-08-01 00:06:55 -05:00
|
|
|
<%= yield :after_body %>
|
2014-02-14 16:10:08 -06:00
|
|
|
</html>
|