]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_head.html.erb
Use html5shiv for IE8 compatibility
[rails.git] / app / views / layouts / _head.html.erb
index 5b2a0aa6f7eaed8322d39f9a23f0c3dfbce27753..46fe40f04227dfb3e75c102758758daa13bf6950 100644 (file)
@@ -1,5 +1,6 @@
 <head>
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
+  <!--[if lt IE 9]><%= javascript_include_tag "html5shiv" %><![endif]-->
   <%= javascript_include_tag "application" %>
   <!--[if lt IE 7]><%= javascript_include_tag "pngfix" %><![endif]--> <!-- thanks, microsoft! -->
   <%= stylesheet_link_tag "small-#{dir}", :media => "only screen and (max-width:721px)" %>
@@ -45,5 +46,5 @@
     OSM.oauth_consumer_secret = "<%= @oauth.client_application.secret %>";
     <% end -%>
   </script>
-  <title><%= t 'layouts.project_name.title' %><%= ' | '+ @title if @title %></title>
+  <title><%= @title %></title>
 </head>