gitbook-plugin-refavicon
v1.0.3
Published
replaces the gitbook favicon with your own
Downloads
1
Readme
gitbook-plugin-refavicon
Add your own favicon to gitbook themes.
Plugin deletes the gitbook favicon located at "_book/gitbook/images/favicon.ico"
&& "_book/gitbook/images/apple-touch-icon-precomposed-152.png"
and replaces with your images.
Install via gitbook
In book.json
- Add
refavicon
to yourplugins
array - Add path to your favicon in
favicon
underpluginsConfig
- Add path to your favicon in
appleTouchIconPrecomposed152
underpluginsConfig
book.json
{
"plugins" : ["custom-favicon"],
"pluginsConfig" : {
"favicon": "path/to/favicon.ico",
"appleTouchIconPrecomposed152":"path/to/apple-touch-icon-precomposed-152.png"
}
}
using gitbook-cli
gitbook install
Using NPM
npm install gitbook-plugin-refavicon