forked from NodeBB/nodebb-plugin-custom-homepage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
29 lines (29 loc) · 709 Bytes
/
plugin.json
File metadata and controls
29 lines (29 loc) · 709 Bytes
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
{
"id": "nodebb-plugin-homepage-exodo",
"name": "Custom Homepage for NodeBB Exodus",
"description": "Allows you to define a custom homepage for NodeBB",
"url": "https://github.com/exo-do/nodebb-plugin-homepage-exodo",
"library": "./library.js",
"hooks": [
{
"hook": "filter:header.build", "method": "addNavigation"
},
{
"hook": "filter:widgets.getAreas", "method": "defineWidgetAreas"
},
{
"hook": "action:homepage.get:customHP", "method": "serveHomepage"
},
{
"hook": "filter:homepage.get", "method": "addListing"
},
{
"hook": "static:app.load", "method": "init"
}
],
"templates": "./templates",
"scripts": [
"lib/sly.min.js"
],
"less": ["static/nav.less"]
}