custom-favicon-new

README

gitbook-custom-favicon-new

将自己的图标添加到gitbook主题。 favicon.ico和apple-touch-icon-precomposed-152.png

插件删除位于"_book/gitbook/images/favicon.ico"的gitbook favicon,用自己的favicon代替。apple-touch-icon-precomposed-152.png同理 这属于暴力方法,如有更好的方法欢迎指正

Install via gitbook

In book.json

  • 添加 custom-favicon-newplugins 数组中
  • pluginsConfig中配置favicon的路径

book.json

{
    "plugins" : ["custom-favicon-new"],
    "pluginsConfig" : {
        "favicon": "path/favicon.ico",
        "appleTouchIconPrecomposed152": "path/logo.png"
    }
}

using gitbook-cli

gitbook install

Configuration

Setting Description Type Allowed values
myConfigKey String
default = default
-

Plugin

自定义gitbook图标


Latest: 1.0.0

1.0.0,

Requirements

GitBook
1.0.0 *

Maintainers

Open on NPM