X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb83f28a5e9326be55a431d5c3f7b4ae7529a942..dc9b0e8c948994d65c592bbc79ed3e6efc11a49d:/app/views/layouts/_head.html.erb?ds=sidebyside diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 517e02146..5dfc49aa0 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -2,17 +2,21 @@ <%= javascript_strings %> <%= javascript_include_tag 'prototype' %> + <%= javascript_include_tag 'rails' %> <%= javascript_include_tag 'site' %> <%= javascript_include_tag 'menu' %> <%= stylesheet_link_tag 'common' %> + <%= stylesheet_link_tag t('html.dir') %> - <%= stylesheet_link_tag 'small', :media => "only screen and (max-width: 481px)" %> - <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 482px)" %> + <%= stylesheet_link_tag 'small', :media => "only screen and (max-width:641px)" %> + <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 642px)" %> <%= stylesheet_link_tag 'print', :media => "print" %> + <%= tag("link", { :rel => "publisher", :href => "https://plus.google.com/111953119785824514010" }) %> <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %> <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %> <%= style_rules %> <%= yield :head %> + <%= csrf_meta_tag %> <%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %>