forked from NodeBB-Community/nodebb-plugin-custom-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
34 lines (34 loc) · 790 Bytes
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"id": "nodebb-plugin-custom-pages",
"name": "Custom pages for NodeBB",
"description": "Allows you to add as many new pages as you like to your NodeBB forum",
"url": "https://github.com/NodeBB/nodebb-plugin-custom-pages",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "filter:hotswap.prepare", "method": "prepare"
},
{
"hook": "filter:admin.header.build", "method": "addAdminNavigation"
},
{
"hook": "filter:widgets.getAreas", "method": "setWidgetAreas"
},
{
"hook": "filter:templates.get_virtual", "method": "setAvailableTemplates"
}
],
"staticDirs": {
"static": "./static"
},
"acpLess": [
"static/admin.less"
],
"acpScripts": [
"static/lib/admin.js"
],
"templates": "./templates"
}