-
-
Notifications
You must be signed in to change notification settings - Fork 577
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
Additional Favicon/Icon Support #69
Comments
I didn't write this and do a pull because I'm not sure if this is the best way to do it. My experience with CSS is limited. However, this is the change I've made to our own site, so that you can favourite it on iOS/Android/Windows and get the favicon you want. |
I think you're close there, but I'd DRY it further, by putting it in its' own partial that's called in the base template, in the same way that the scripts is called through the scripts.html. I'd also say to replace all the colours with custom params that are set in the config.toml. Think I'll pull request this later actually. |
Sorry for my ignorance, but are all those different favicons really needed? @terrafoundry can you provide information about how/when those icons are used? @GeorgeWL Thanks, I'll review the PR when you send it. |
They're not all necessary, the only ones really needed :
becomes The rest are only there for backwards compatability and nice but not necessary. @adrianmo I can say for a fact that chunk of code is taken from http://realfavicongenerator.net/ which has an API btw, so another possible method is to link to it and have them set that up then use a script to pull from there API. Too much faff for my liking, but it's a possible way. |
@GeorgeWL Wow! Thanks a lot for the clarification. I can see now the importance of those icons... IMO they should be configured in the @GeorgeWL as you have the know-how, would you be willing to lead this effort? Thanks, |
@GeorgeWL BTW, do you want to become a collaborator of the project? |
@adrianmo, I'm actually a little busy atm. But I'd like to help :) |
I'm about to be adding these to my latest site, I'll pull request my favicons partial layout and the params added to the config when done it. |
@terrafoundry see my pull request |
Sorry for lack of response on this, been working away recently. To address an earlier point, I included all favicons, regardless of market share, because some applications pick and choose which one to use. For example, copying a link into Rocketchat from a URL, it tries to use the Windows Phone favicon for some reason, so I just used them all to cover all bases. |
This issue is being addressed in PR #77 |
Hi,
Would it be possible to add something like the following to layouts/partials/head.html ?
The text was updated successfully, but these errors were encountered: