How to customize Gogs website image (favicon)

Currently Gogs doesn’t provide a configure option to change the web site icon.

To achieve this you have to hack the Gogs preset image resource at:

<Your Gogs root dir>/public/img/favicon.png

Replace it with your desired image, then restart Gogs service. Enjoy!

Actually, you don’t even need a restart, just do a hard refresh on the browser. :smile:

Agreed, F5 should work as well, however it doesn’t work with my local FireFox, weird…

Ctrl+F5 in Firefox and Ctrl+Shift+F5 for blink-based (chrome, safari, opera) to do a cache-reset :slightly_smiling:

sorry for this zombie, but it doesnt work anymore?
All changes in ~/public/* are ignored

not sure whether this worked only accidentally, maybe, but did an
ln -s /home/git/gogs/public /home/git/gogs/custom/public
… and after rebooting the gogs VM the custom favicon was displayed properly in my case.