1.0.0 • Published 3 years ago

gitbook-plugin-custom-fav v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

gitbook-plugin-custom-favicon

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 :smiley:

Install via gitbook

In book.json

  • Add custom-fav to your plugins array
  • Add path to your favicon in favicon under pluginsConfig

book.json

{
	"plugins" : ["custom-fav"],
	"pluginsConfig" : {
		"favicon": "path/to/favicon.ico"
	}
}

using gitbook-cli

gitbook install

Using NPM

npm install gitbook-plugin-custom-fav