klugjo / hexo-theme-clean-blog

Hexo implementation of Clean Blog http://blackrockdigital.github.io/startbootstrap-clean-blog/index.html
MIT License
401 stars 129 forks source link

Where should the favicon file be located? #44

Closed podybman closed 6 years ago

podybman commented 6 years ago

I've a local fav icon. I've put it in the source/img folder but it doesn't work this way. Where should it be?

Thanks,

klugjo commented 6 years ago

You can put it wherever you want as long as you put the right path in the theme's _config.yml.

so if your file is in /img/favicon.ico, you need to input that path in the config:

# set your own favicon
favicon: /img/favicon.ico

The value inside the config is used here: https://github.com/klugjo/hexo-theme-clean-blog/blob/master/layout/_partial/head.ejs#L98-L101

that should help you set it up properly