gitbook-plugin-local-pagefooter
Advanced tools
Comparing version 1.0.1 to 1.0.3
{ | ||
"name": "gitbook-plugin-local-pagefooter", | ||
"description": "定制每篇文章的页脚,可以添加版权和显示文件修改时间,时间为本地时间", | ||
"description": "Customize the footer of each article, you can add copyright and document reversion of time", | ||
"main": "index.js", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -24,3 +24,3 @@ "name": "webkong", | ||
}, | ||
"license": "Apache 2", | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -27,0 +27,0 @@ "moment": "^2.10.6" |
# gitbook-plugin-local-pagefooter | ||
根据 [https://github.com/zhj3618/gitbook-plugin-tbfed-pagefooter](https://github.com/zhj3618/gitbook-plugin-tbfed-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 | ||
或这在book.json配置好之后 | ||
or in book.json | ||
"plugins":{ | ||
"local-pagefooter", | ||
} | ||
and run | ||
gitbook install | ||
``` | ||
### 使用 | ||
### Useage | ||
@@ -24,3 +29,3 @@ ``` | ||
### 插件配置 | ||
### Configuration | ||
@@ -30,4 +35,4 @@ ```javascript | ||
"copyright":"© someone", | ||
"islocal" : true, //是否使用本地时间还是utc时间 | ||
"modify_label": "该文件修订时间:", | ||
"islocal" : true, // true/false | ||
"modify_label": "The document reversion time: ", | ||
"modify_format": "YYYY-MM-DD HH:mm:ss" | ||
@@ -37,2 +42,2 @@ } | ||
> copyright 和 modify_label 支持 html 代码 | ||
> fields copyright and modify_label support html code. |
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
14967
6
41
1