add page-freshness plugin
This commit is contained in:
parent
bc816db334
commit
4cd396039e
10
book.json
10
book.json
|
@ -2,6 +2,7 @@
|
|||
"title": "kanthaus handbook",
|
||||
"honkit": ">3.0.0",
|
||||
"plugins": [
|
||||
"page-freshness",
|
||||
"edit-link",
|
||||
"advanced-emoji",
|
||||
"-fontsettings",
|
||||
|
@ -9,6 +10,15 @@
|
|||
"-sharing"
|
||||
],
|
||||
"pluginsConfig": {
|
||||
"page-freshness":{
|
||||
"position": "top",
|
||||
"modifyTpl": "Last modified by {user} {timeStamp}",
|
||||
"createTpl": "Created by {user} {timeStamp}",
|
||||
"timeStampFormat": "YYYY-MM-DD HH:mm:ss",
|
||||
"bestBeforeUnit":"years",
|
||||
"bestBefore":"2",
|
||||
"noticeTpl":"More than {passed} years have passed since last update."
|
||||
},
|
||||
"edit-link": {
|
||||
"base": "https://gitlab.com/kanthaus/handbook/edit/master",
|
||||
"label": "Edit This Page"
|
||||
|
|
3012
package-lock.json
generated
Normal file
3012
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,9 @@
|
|||
"version": "1.0.0",
|
||||
"description": "Hello handbook!",
|
||||
"main": "index.js",
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"honkit-plugin-page-freshness": "^0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gitbook-plugin-advanced-emoji": "^0.2.2",
|
||||
"gitbook-plugin-edit-link": "^2.0.2",
|
||||
|
|
Loading…
Reference in a new issue