2014-02-14 17:10:08 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.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" %>
|
2015-01-14 05:52:42 -05:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
2015-02-02 03:49:58 -05:00
|
|
|
<%= render_google_universal_analytics_code %>
|
2014-03-15 10:32:23 -04:00
|
|
|
<%= yield :head %>
|
2015-01-15 04:31:30 -05:00
|
|
|
<style>
|
2015-01-15 05:20:38 -05:00
|
|
|
img { max-width: 100%; width: auto; height: auto; }
|
2015-01-15 04:31:30 -05:00
|
|
|
</style>
|
2014-02-14 17:10:08 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
2015-01-15 04:31:30 -05:00
|
|
|
<header>
|
2015-03-08 20:45:36 -04:00
|
|
|
<a href="<%= path "/" %>"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>
|
2014-02-14 17:10:08 -05:00
|
|
|
</header>
|
|
|
|
<div id="main-outlet" class="container">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2014-11-12 08:35:20 -05:00
|
|
|
<footer class="container">
|
2015-02-13 06:34:22 -05:00
|
|
|
<nav itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
|
|
|
<a href='/'><%= t 'home_title' %></a>
|
|
|
|
<%= link_to t('js.filters.categories.title'), categories_path %>
|
|
|
|
<%= link_to t('guidelines_topic.title'), guidelines_path %>
|
|
|
|
<%= link_to t('tos_topic.title'), tos_path %>
|
|
|
|
<%= link_to t('privacy_topic.title'), privacy_path %>
|
|
|
|
</nav>
|
2014-06-19 17:32:26 -04:00
|
|
|
<p><%= t 'powered_by_html' %></p>
|
|
|
|
</footer>
|
2015-02-02 03:49:58 -05:00
|
|
|
<%= render_google_analytics_code %>
|
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw SiteCustomization.custom_body_tag(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
2014-02-14 17:10:08 -05:00
|
|
|
</body>
|
|
|
|
</html>
|