]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_meta.html.erb
Move html5shiv to be a yarn managed asset
[rails.git] / app / views / layouts / _meta.html.erb
1 <%= favicon_link_tag "favicon.ico" if browser.ie? %>
2 <% [57, 60, 72, 76, 114, 120, 144, 152, 180].each do |size| -%>
3 <%= favicon_link_tag "apple-touch-icon-#{size}x#{size}.png", :rel => "apple-touch-icon", :sizes => "#{size}x#{size}", :type => "image/png" %>
4 <% end -%>
5 <%= favicon_link_tag "favicon-32x32.png", :rel => "icon", :sizes => "32x32", :type => "image/png" %>
6 <%= favicon_link_tag "favicon-194x194.png", :rel => "icon", :sizes => "194x194", :type => "image/png" %>
7 <%= favicon_link_tag "favicon-96x96.png", :rel => "icon", :sizes => "96x96", :type => "image/png" %>
8 <%= favicon_link_tag "android-chrome-192x192.png", :rel => "icon", :sizes => "192x192", :type => "image/png" %>
9 <%= favicon_link_tag "favicon-16x16.png", :rel => "icon", :sizes => "16x16", :type => "image/png" %>
10 <%= tag("link", :rel => "mask-icon", :href => asset_path("tab-icon.svg"), :color => "#7ebc6f") %>
11 <%= tag("link", :rel => "manifest", :href => asset_path("manifest.json")) %>
12 <%= tag("meta", :name => "msapplication-config", :content => asset_path("browserconfig.xml")) %>
13 <%= tag("meta", :name => "msapplication-TileColor", :content => "#00a300") %>
14 <%= tag("meta", :name => "msapplication-TileImage", :content => image_path("mstile-144x144.png")) %>
15 <%= tag("meta", :name => "theme-color", :content => "#ffffff") %>
16 <%= canonical_tag %>
17 <% if Settings.key?(:publisher_url) -%>
18 <%= tag("link", :rel => "publisher", :href => Settings.publisher_url) %>
19 <% end -%>
20 <%= tag("link", :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => asset_path("osm.xml")) %>
21 <%= tag("meta", :name => "description", :content => "OpenStreetMap is the free wiki world map.") %>
22 <%= opengraph_tags(@title) %>
23 <% if flash[:piwik_goal] -%>
24 <%= tag("meta", :name => "piwik-goal", :content => flash[:piwik_goal]) %>
25 <% end -%>