page-copyright
Add the below to your book.json
file, then run gitbook install
in book folder:
{
"plugins": ["page-copyright"]
}
{
"plugins": [
"page-copyright"
],
"pluginsConfig": {
"description": "modified at",
"signature": "Skylor.min",
"wisdom": "Designer, Frontend Developer & overall web enthusiast",
"format": "YYYY-MM-dd hh:mm:ss",
"copyright": "Copyright © skylor",
"timeColor": "#666",
"copyrightColor": "#666",
"utcOffset": "8",
"style": "normal",
"noPowered": false
}
}
设置book.json
如下:
{
"plugins": [
"page-copyright",
"-lunr", "-search", "search-pro",
"back-to-top-button",
"chapter-fold",
"code",
"splitter"
],
"pluginsConfig": {
"description": "modified at",
"signature": "Aron.Li",
"wisdom": "Designer, Frontend Developer & overall web enthusiast",
"format": "YYYY-MM-dd hh:mm:ss",
"copyright": "Copyright © Aron.Li",
"timeColor": "#666",
"copyrightColor": "#666",
"utcOffset": "8",
"style": "normal",
"noPowered": false
}
}
安装插件
$ gitbook install
$ gitbook serve
运行以后有很多信息是原创作者的,不好用,放弃使用这个。
下面来看看另一个页脚版权的插件
插件配置
{
"plugins": [
"tbfed-pagefooter"
],
"pluginsConfig": {
"tbfed-pagefooter": {
"copyright":"Copyright © zhangjikai.com 2017",
"modify_label": "该文件修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
}
}
}
copyright 和 modify_label 支持 html 代码
配置book.json
如下:
{
"plugins": [
"-lunr", "-search", "search-pro",
"back-to-top-button",
"chapter-fold",
"code",
"splitter",
"tbfed-pagefooter"
],
"pluginsConfig": {
"tbfed-pagefooter": {
"copyright": "Copyright © Aron.Li 2019",
"modify_label": "该文件修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
}
}
}
安装
$ gitbook install
这个版权的信息就非常简单。