CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
5.06k stars 1.66k forks source link

Favicon not displaying #948

Closed wmbm closed 9 months ago

wmbm commented 9 months ago

What happened?

My params.toml file contains

# Output page's full content in RSS.
rssFullContent = true
favicon = "/img/favicon.ico"

and my favicon exists in the img folder, and yet it still doesn't appear in my browser tab?

Any tips?

Hugo version

0.122.0

Theme version

3.21.0

What browsers are you seeing the problem on?

No response

More information about the browser

No response

Relevant log output

No response

Link to Minimal Reproducible Example

https://github.com/wmbm/wmbm.github.io

rmdhnreza commented 9 months ago

Move your img folder from assets to static the favicon should work.

wmbm commented 9 months ago

just tried this, but observed no change

wmbm commented 9 months ago

Ah got it now! For some reason a .ico file won't work but the .jpeg file works when in the static folder

wmbm commented 9 months ago

Thanks!