-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update favicon links in head #2804
Conversation
Based on breaking changes from https://realfavicongenerator.net/ Fixes #2801
I think this is correct, based on this page. Can someone please kick the tires? |
|
Maybe this is a good reference for what we need to include to "modernize" our approach. |
@hadley I added the svg icons in the head, seems like the modern way. I would imagine you'd get a better SVG favicon if you started with an SVG. And I deleted the favicons manually, Do you have an SVG version of the logo to test? |
The favicon checker reports some issues with the netlify deploy link (https://671c0d339cfbdfdb6da19660--pkgdown-dev.netlify.app/dev/) There are issues with the site manifest, but more concerningly it says the SVG and ICO favicons are unavailable, despite being available and in the same place as the PNG favicon. This might have something to do with a leading slash, which we do not include, but is included on the realfavicongenerator.net itself. Pasting This could also be caused by the dev site URL, wondering if the paths on a dev site should be relative to "/dev". |
Pretty sure the checker fails because the links need to be relative to |
@hadley Do you think we will ever need the webmanifest file? It's only used if the site is used as a phone app (e.g., you make the site a button on a phone). If we want to keep, we'll need to modify the contents in place, which will be a little fiddly. |
I think it's fine to leave as is, given that it only affects dev sites. I'm also not sure how favicons work with non-root sites now, because it used to be that |
Some of the tests are failing but I can't reproduce locally. |
Based on breaking changes from https://realfavicongenerator.net/
Fixes #2801