'How to change website icon in R blogdown?

I modified a template in the blogdown package in R to build a website. Currently it shows like this in my browser: enter image description here

Its icon uses a default image in the template and I want to change it. I am sure I have replaced this image file with the one I desire using the exact same file name, and committed to github. But it still shows this icon, even if this image no longer exists in the repo.

(The file I changed is favicon.ico. From How to add icon to webpage tabs in blogdown I believe this is the image used for the website icon)

Can anyone tell me where I did wrong? Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source