Support Forums

Hugo Favicon not showing up on Netlify

hey guys, I’m using Hugo to build my websites and have successfully deployed it on Netlify but it’s not showing up on my favicon. When I run it on locally it works fine but not on Netlify.

The favicon is placed in the /static folder as “computer.ico” and I’ve put favicon = “/computer.ico”
under params in the config.toml file.

Hi @richgang

Can you provide the name of your site so that others can assist you.

You could use a tool like Favicon checker to get more information (could be caching of your browser.)

Also, browsers look for favicon.ico as the default name of the file. If you intend to use a different one, you need to add the HTML to the <head> yourself.