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?

1 Like

螢幕擷取畫面 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

3 Likes

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

static

1 Like

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

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