-
Notifications
You must be signed in to change notification settings - Fork 311
/
Copy pathapplication.html.erb
46 lines (42 loc) · 1.63 KB
/
application.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title><%= @settings.site_name %></title>
<% if @settings.indexable == false %>
<meta name="robots" content="noindex, nofollow">
<% end %>
<%= render 'layouts/facebook_metas' %>
<%= render 'layouts/mobile_bookmark_metas' %>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag "application" %>
<style type="text/css"><%= raw(@settings.custom_css) %></style>
<%= javascript_include_tag "application" %>
<%= render 'layouts/google_analytics' %>
</head>
<!--[if lt IE 9 ]><body class="lt-ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body><!--<![endif]-->
<%= render 'layouts/social_js' %>
<%= render 'layouts/navbar' %>
<%= render 'theme/views/header' %>
<% flash.to_hash().slice(:success, :info, :notice, :error).each do |key, value| %>
<% if !value.blank? %><div class="alert alert-<%= key %>"><%= value %></div><% end %>
<% end %>
<div id="main">
<%= yield %>
</div>
<%= render 'theme/views/footer' %>
<div id="powered">
<a href="http://www.crowdhoster.com">
A Crowdhoster Site
<%= image_tag 'crowdtiltcircle.png' %>
Powered by Crowdtilt
</a>
</div>
<% if Rails.env.development? %>
<div id="debug" style="background: white; padding:50px"><%= debug(params) %></div>
<% end %>
<%= raw(@settings.custom_js) %>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
</body>
</html>