https://github.com/webkong/gitbook-plugin-local-pagefooter
gitbook页脚插件时间为本地时间
https://github.com/webkong/gitbook-plugin-local-pagefooter
Last synced: 4 months ago
JSON representation
gitbook页脚插件时间为本地时间
- Host: GitHub
- URL: https://github.com/webkong/gitbook-plugin-local-pagefooter
- Owner: webkong
- License: apache-2.0
- Created: 2017-02-28T11:38:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T07:46:57.000Z (over 7 years ago)
- Last Synced: 2025-11-01T23:12:01.114Z (7 months ago)
- Language: JavaScript
- Size: 422 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitbook-plugin-local-pagefooter
[English](./README.md) [简体中文](./README_zh.md)
Customize the footer of each article, you can add copyright and document reversion of time. The time can be local or UTC.
### Install
```
npm install gitbook-plugin-local-pagefooter
or in book.json
"plugins":{
"local-pagefooter",
}
and run
gitbook install
```
### Useage
```
"plugins":{
"local-pagefooter",
}
```
### Configuration
```javascript
"local-pagefooter": {
"copyright":"© someone",
"islocal" : true, // true/false
"modify_label": "The document reversion time: ",
"modify_format": "YYYY-MM-DD HH:mm:ss"
}
```
> fields copyright and modify_label support html code.