2014-02-14 17:10:08 -05:00
|
|
|
<!DOCTYPE html>
|
2018-08-20 07:55:58 -04:00
|
|
|
<html lang="<%= html_lang %>">
|
2014-02-14 17:10:08 -05:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2017-06-12 13:50:30 -04:00
|
|
|
<title><%= content_for?(:title) ? yield(:title) : SiteSetting.title %></title>
|
2014-06-19 18:17:52 -04:00
|
|
|
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
2016-11-14 15:32:59 -05:00
|
|
|
<%- if rtl? %>
|
2018-03-18 21:15:58 -04:00
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
2016-11-14 15:32:59 -05:00
|
|
|
<%- else %>
|
2018-03-18 21:15:58 -04:00
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
|
|
|
<%- end %>
|
2018-08-08 00:46:34 -04:00
|
|
|
<%- if theme_ids.present? %>
|
2018-03-18 21:15:58 -04:00
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
2015-01-14 05:52:42 -05:00
|
|
|
<%- end %>
|
2017-04-12 10:52:52 -04:00
|
|
|
<%= theme_lookup("head_tag") %>
|
2015-02-02 03:49:58 -05:00
|
|
|
<%= render_google_universal_analytics_code %>
|
2014-03-15 10:32:23 -04:00
|
|
|
<%= yield :head %>
|
2018-10-25 01:31:05 -04:00
|
|
|
|
|
|
|
<%= build_plugin_html 'server:before-head-close-crawler' %>
|
2014-02-14 17:10:08 -05:00
|
|
|
</head>
|
2016-11-14 15:32:59 -05:00
|
|
|
<body class="crawler">
|
2017-04-12 10:52:52 -04:00
|
|
|
<%= theme_lookup("header") %>
|
2015-01-15 04:31:30 -05:00
|
|
|
<header>
|
2018-11-07 17:28:45 -05:00
|
|
|
<a href="<%= path "/" %>">
|
2018-11-14 02:03:02 -05:00
|
|
|
<%- if SiteSetting.site_logo_url.present? %>
|
|
|
|
<img src="<%=SiteSetting.site_logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo" style="max-width: 150px;">
|
2018-11-07 17:28:45 -05:00
|
|
|
<%- else %>
|
|
|
|
<h1><%=SiteSetting.title%></h1>
|
|
|
|
<% end %>
|
|
|
|
</a>
|
2014-02-14 17:10:08 -05:00
|
|
|
</header>
|
2015-07-28 04:02:39 -04:00
|
|
|
<div id="main-outlet" class="wrap">
|
2014-02-14 17:10:08 -05:00
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2019-04-03 05:58:00 -04:00
|
|
|
<footer class="container wrap">
|
2018-11-01 18:18:07 -04:00
|
|
|
<nav class='crawler-nav' itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
2019-06-02 22:03:16 -04:00
|
|
|
<ul>
|
|
|
|
<li itemprop="name"><a href='<%= path "/" %>' itemprop="url"><%= t 'home_title' %> </a></li>
|
|
|
|
<li itemprop="name"><a href='<%= path "/categories" %>' itemprop="url"><%= t 'js.filters.categories.title' %> </a></li>
|
|
|
|
<li itemprop="name"><a href='<%= path "/guidelines" %>' itemprop="url"><%= t 'guidelines_topic.title' %> </a></li>
|
|
|
|
<li itemprop="name"><a href='<%= path "/tos" %>' itemprop="url"><%= t 'tos_topic.title' %> </a></li>
|
|
|
|
<li itemprop="name"><a href='<%= path "/privacy" %>' itemprop="url"><%= t 'privacy_topic.title' %> </a></li>
|
|
|
|
</ul>
|
2015-02-13 06:34:22 -05:00
|
|
|
</nav>
|
2018-11-01 18:18:07 -04:00
|
|
|
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
|
2014-06-19 17:32:26 -04:00
|
|
|
</footer>
|
2019-07-30 13:00:46 -04:00
|
|
|
<%= theme_lookup("footer") %>
|
2017-04-12 10:52:52 -04:00
|
|
|
<%= theme_lookup("body_tag") %>
|
2014-02-14 17:10:08 -05:00
|
|
|
</body>
|
2016-08-01 01:06:55 -04:00
|
|
|
<%= yield :after_body %>
|
2014-02-14 17:10:08 -05:00
|
|
|
</html>
|