faviconhugo

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?


Solution

  • 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