Add your own favicon to gitbook themes.
Plugin deletes the gitbook favicon located at "_book/gitbook/images/favicon.ico" and replaces with your favicon.
There is probably a better way to do this, but this at least works for most use cases. However, this is a hack 😃
- Add
custom-faviconto yourpluginsarray - Add path to your favicon in
faviconunderpluginsConfig
{
"plugins" : ["custom-favicon"],
"pluginsConfig" : {
"favicon": "path/to/favicon.ico"
}
}gitbook installnpm install gitbook-plugin-custom-favicon