% =begin %> <%= favicon_link_tag 'icon/icon.ico' %> <%= favicon_link_tag 'icon/icon.ico', rel: 'icon' %> <%= favicon_link_tag 'icon/icon.ico', rel: 'icon', type: 'image/vnd.microsoft.icon' %> <%= favicon_link_tag 'icon/icon.png', rel: 'icon', type: 'image/png' %> <% [ 16, 24, 32, 64 ].each do |size| %> <%= favicon_link_tag "icon/icon-#{size}x#{size}.ico", sizes: "#{size}x#{size}" %> <% end %> <% [ 76, 120, 152, 167, 180 ].each do |size| %> <%= favicon_link_tag "icon/apple-touch-icon-#{size}x#{size}.png", rel: 'apple-touch-icon', type: 'image/png', sizes: "#{size}x#{size}" %> <% end %> <%= favicon_link_tag "icon/apple-touch-icon-60x60.png", rel: 'apple-touch-icon', type: 'image/png' %> <%= favicon_link_tag "icon/apple-touch-startup-image-320x480.png", rel: 'apple-touch-startup-image', type: 'image/png' %> <% [ 16, 32, 96, 194 ].each do |size| %> <%= favicon_link_tag "favicons/favicon-#{size}x#{size}.png", rel: 'icon', type: 'image/png', sizes: "#{size}x#{size}" %> <% end %> <% [ 192 ].each do |size| %> <%= favicon_link_tag "favicons/android-chrome-#{size}x#{size}.png", rel: 'icon', type: 'image/png', sizes: "#{size}x#{size}" %> <% end %> <% =end %>