]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_head.html.erb
Use last_modified method instead of setting the header manually
[rails.git] / app / views / layouts / _head.html.erb
1 <head>
2   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
3   <%= javascript_strings %>
4   <%= javascript_include_tag 'prototype' %>
5   <%= javascript_include_tag 'rails' %>
6   <%= javascript_include_tag 'site' %>
7   <%= javascript_include_tag 'menu' %>
8   <!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
9   <%= stylesheet_link_tag 'common' %>
10   <%= stylesheet_link_tag t('html.dir') %>
11   <!--[if IE]><%= stylesheet_link_tag 'large', :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
12   <%= stylesheet_link_tag 'small', :media => "only screen and (max-width:641px)" %>
13   <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 642px)" %> 
14   <%= stylesheet_link_tag 'print', :media => "print" %>
15   <%= tag("link", { :rel => "publisher", :href => "https://plus.google.com/111953119785824514010" }) %>
16   <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
17   <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
18   <%= style_rules %>
19   <%= yield :head %>
20   <%= csrf_meta_tag %>
21   <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
22 </head>