geerlingguy / jeffgeerling-com

Drupal Codebase for JeffGeerling.com
https://www.jeffgeerling.com
GNU General Public License v2.0
40 stars 2 forks source link

Add favicon to theme and site root #29

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

Both places, since many browsers just look for /favicon.ico no matter what.

geerlingguy commented 4 years ago

Maybe use one of:

geerlingguy commented 4 years ago

Maybe consider adding the Responsive Favicons module:

composer require 'drupal/responsive_favicons:^1.5'

Then use this favicon set:

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">

favicon_package_v0.16.zip

geerlingguy commented 4 years ago

Or just toss the favicon in the site root and theme and call it a day :)

geerlingguy commented 4 years ago

Jeff Geerling Favicon

geerlingguy commented 4 years ago

I'm putting it all together, though dropping a couple of the things I don't find as relevant.

Screen Shot 2020-05-05 at 3 58 28 PM