]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_head.html.erb
Lots more work on making RTL layout work
[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 'site' %>
6   <%= javascript_include_tag 'menu' %>
7   <!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
8   <%= stylesheet_link_tag 'common' %>
9   <%= stylesheet_link_tag t('html.dir') %>
10   <!--[if IE]><%= stylesheet_link_tag 'large', :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
11   <%= stylesheet_link_tag 'small', :media => "only screen and (max-width:641px)" %>
12   <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 642px)" %> 
13   <%= stylesheet_link_tag 'print', :media => "print" %>
14   <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
15   <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
16   <%= style_rules %>
17   <%= yield :head %>
18   <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
19 </head>