11ty / api-indieweb-avatar

Return an optimized avatar image from a domain name input.
https://v1.indieweb-avatar.11ty.dev/
65 stars 11 forks source link

Add data URI favicon support #10

Open EatonZ opened 2 years ago

EatonZ commented 2 years ago

If your site uses an SVG as its favicon, the leaderboard doesn't display it. You should add support for it. Example entry in the html head: <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,blah">

zachleat commented 2 years ago

Yeah! This is also listed as #5 on the TODO list https://github.com/11ty/api-indieweb-avatar#indieweb-avatar-api

Test case from https://joshcrain.io/

zachleat commented 2 years ago

For some reason I feel like this is somehow related https://fav.farm/%F0%9F%8C%B6 though I’m not 100% sure

zachleat commented 1 year ago

also <link rel="icon" type="image/x-icon" href="https://devographics.github.io/surveys/state_of_js/2022/images/js2022-favicon.svg"> from stateofjs.com