How to add favicon

I’m using the Hugo Future Imperfect Slim for a personal blog project and I am not sure how to add the favicon.

I’ve already put the favicon.png image in /static/, but is not working.
I wonder if there is something to do with the ieconfig.xml file that this theme has.

Thanks a lot.

What is the value of params.meta.favicon in your site configuration file?

螢幕擷取畫面 2021-08-13 114921
The value is true. Should I change it or not? Thanks for your help!

To start out, set it to false. Then place a favicon.ico file (not favicon.png) in your static directory.

If you want more complex favicon support, contact the theme author for assistance:
https://github.com/pacollins/hugo-future-imperfect-slim/issues

Should I put the file in /static or /static/img ?
Thanks again.

static

It’s Working!!!
Thanks a lot ! Have a nice day! :laughing: