[params]
description = "" # Description for the meta description tag
favicon = "" # Relative URL for your favicon
logo = "" # Absolute URL for your logo
Steps to replicate:
Add a file favicon.ico (32x32px) at the root level (same level with config.toml)
Add the code above in the config.toml and set:
favicon = "favicon.ico"
Rebuild site
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.
From documentation :
Steps to replicate:
favicon.ico
(32x32px) at the root level (same level withconfig.toml
)config.toml
and set:favicon = "favicon.ico"
Result: The favicon is not the one I set, but the Hugo's logo. This is also visible in the public folder after rebuild.