How to disable favicons #711
Replies: 2 comments 1 reply
-
I THINK the problem relates to the fact that the assets are stored in the theme's I suspect the ultimate fix is to relocate the theme's favicon assets to assets/favicon or something, and publish them rather than just having them automagically added to the site's content. |
Beta Was this translation helpful? Give feedback.
-
This is happening because most browsers will pick up the favicon file regardless of whether you specify it in your HTML. It's basically how favicons are meant to work and so the way to disable it is by simply not including them in the site output... something that is not easy with the way this is currently implemented so providing an empty file in the static folder is currently the best workaround. |
Beta Was this translation helpful? Give feedback.
-
I provided an empty
layouts/partials/favicons.html
for disable favicons based on the documentation. I thought this would work, but the default favicons were displayed.After that, I removed a
layouts/partials/favicons.html
and placed empty icon assets in thestatic/
and it seemed to work. Is this the right way to disable favicons? Or is there another way?Beta Was this translation helpful? Give feedback.
All reactions