Where do I put my favicon with Hugo

I am using Hugo to generate a static site. Where should I put my favicon.ico file?


Put the favicon inside of the static directory. The static directory sits in the root of your hugo site. When you generate your site, the favicon will be copied into public, the root of the generated site.

Directory Structure


Putting your favicons in static folder is right. It will be published to public folder once the page is built.

However, using absolute CDN (e.g.: Dropbox) services could be better for page performance.