JamesChevalier/Little-Corner

View on GitHub
app/views/layouts/application.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
  <head>
      <meta charset="utf-8" />

      <!-- Uncomment to make IE8 render like IE7 -->
      <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->

      <!-- Set the viewport width to device width for mobile -->
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />

      <title><%= YOUR_NAME %></title>
    <meta name="keywords" content="<%= META_KEYWORDS %>"/>
    <meta name="description" content="<%= META_DESCRIPTION %>"/>

    <% unless BLOG_FEED_URL.blank? %>
      <link rel="alternate" type="application/rss+xml" title="<%= YOUR_NAME %>'s Blog Feed" href="<%= BLOG_FEED_URL %>" />
    <% end %>

      <%= stylesheet_link_tag    'application' %>
      <%= javascript_include_tag 'vendor/custom.modernizr' %>
    <%= csrf_meta_tags %>

    <%= render 'shared/google_analytics' if ENABLE_GOOGLE_ANALYTICS == true %>
    <%= render 'shared/woopra' if ENABLE_WOOPRA == true %>
  </head>

  <body>
    <div style="height:67px;"></div>
    <%= yield %>
    <%= javascript_include_tag 'application' %>
  </body>
</html>