app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Lacquer Love&Lend</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<%= analytics_init if Rails.env.production? %>
<link href='https://fonts.googleapis.com/css?family=Leckerli+One' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Anton' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Hind:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Homemade+Apple' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Marck+Script' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<meta name="description" content="Where people who love nail polish can catalog and show off their collections, discover new nail polishes and lacquers, connect with friends, and borrow and loan lacquers." />
<%= favicon_link_tag 'bottle_drawing_cropped_red.jpg' %>
</head>
<body>
<%= render 'layouts/navbar'%>
<div class="container">
<div id="messages">
<% if current_user && !current_user.email %>
<%= render partial: 'users/email_alert' %>
<% end %>
<%= flash_messages %>
</div>
<%= yield %>
</div>
<%= render 'layouts/contact_modal' %>
<%= render 'layouts/invite_friends_modal' %>
</body>
<%= render 'layouts/footer' %>
</html>
<script type="text/javascript">
window.currentUser = {
id : "<%= current_user.id if current_user %>"
}
</script>