Favicon Not Showing Up Dispite Static Folder

Hi, So I am using a theme called shell and the favicon is not showing up I edited the head.html and the config.toml neither seem to be working. maybe I am missing something idk what. at first, I added the icon in the config.toml but then I added the icons in the theme folder and edited the head.html but it doesn’t seem to work. here’s the link to the site https://www.freelancers.my.id

1 Like

config.toml file

the static prefix is unecessary, do like this:

e.g.:

<link href="/img/favicon.ico" rel="icon"> 
1 Like

You don’t need to declare /static in the file directory. because when hugo generates, it removes the static folder, and brings everything to the root folder. so your path should be

[params]
favicon = "img/favicon.ico"

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.