add page-freshness plugin

This commit is contained in:
djahnie 2023-11-09 13:31:50 +01:00
parent bc816db334
commit 4cd396039e
4 changed files with 3421 additions and 773 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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",

1168
yarn.lock

File diff suppressed because it is too large Load diff