favicon-custom

README

gitbook-plugin-favicon-custom

将自己的图标添加到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

  • 添加 plugin-favicon-customplugins 数组中
  • pluginsConfig中配置favicon的路径

book.json

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

using gitbook-cli

gitbook install

Configuration

Setting Description Type Allowed values
appleTouchIconPrecomposed152 String
default = ./favicon.ico
-
favicon String
default = ./favicon.ico
-

Plugin

This is GitBook plugin for custom favicon


Latest: 1.0.0

1.0.0,

Requirements

GitBook
1.0.0 >0.0.1

Maintainers

Open on NPM