dnlzrgz / hugo-terrassa-theme

Terrassa is a simple, fast and responsive theme for Hugo with a strong focus on accessibility.
https://terrassa.netlify.com/
MIT License
66 stars 77 forks source link

Changing favicon is not working. Can't replace Hugo's logo as favicon #23

Closed albanleandri closed 4 years ago

albanleandri commented 4 years ago

From documentation :

[params]
    description = "" # Description for the meta description tag
    favicon = ""     # Relative URL for your favicon
    logo = ""        # Absolute URL for your logo

Steps to replicate:

  1. Add a file favicon.ico (32x32px) at the root level (same level with config.toml)
  2. Add the code above in the config.toml and set:

favicon = "favicon.ico"

  1. Rebuild site
  2. Launch live server and check favicon in browser and source code

Result: The favicon is not the one I set, but the Hugo's logo. This is also visible in the public folder after rebuild.

albanleandri commented 4 years ago

This page helped me solve my issue. https://stackoverflow.com/questions/42043648/where-do-i-put-my-favicon-with-hugo