Skip to content

Instantly share code, notes, and snippets.

@mkelly12
Created April 2, 2012 19:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkelly12/2286804 to your computer and use it in GitHub Desktop.
Save mkelly12/2286804 to your computer and use it in GitHub Desktop.
Favicon links
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= path_to_image("apple-touch-icon-144x144-precomposed.png") %>">
<!-- For iPhone with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%= path_to_image("apple-touch-icon-114x114-precomposed.png") %>">
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%= path_to_image("apple-touch-icon-72x72-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="<%= path_to_image("apple-touch-icon-precomposed.png") %>">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="icon" href="<%= path_to_image("favicon.ico") %>" type="image/x-icon" />
@mkelly12
Copy link
Author

mkelly12 commented Apr 2, 2012

Tossed this in app/views/layouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment