discourse/app/views/layouts/no_js.html.erb

31 lines
1 KiB
Text
Raw Normal View History

2013-02-05 14:16:51 -05:00
<!DOCTYPE html>
<html lang="<%= SiteSetting.default_locale %>">
2013-02-05 14:16:51 -05:00
<head>
<meta charset="utf-8">
2015-01-15 04:31:30 -05:00
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
<%= render partial: "layouts/head" %>
<%- unless customization_disabled? %>
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
<%- end %>
<%= yield(:no_js_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>
2013-02-05 14:16:51 -05:00
</head>
<body>
2013-11-14 10:41:16 -05:00
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_header(session[:preview_style]) %>
<%- end %>
2015-01-15 04:31:30 -05:00
<header>
<a href="/"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>
</header>
<div id="main-outlet" class="container">
<%= yield %>
</div>
<footer class="container">
<p><%= t 'powered_by_html' %></p>
</footer>
2013-02-05 14:16:51 -05:00
</body>
</html>