Skip to content

Commit 8f488a6

Browse files
committed
fix: #11
1 parent aed5971 commit 8f488a6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
]
1919
},
2020
"dependencies": {
21-
"bent": "^7.3.12"
2221
},
2322
"devDependencies": {
2423
"@commitlint/cli": "11.0.0",

plugin.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"public/client.js",
88
"../nodebb-theme-harmony/public/harmony.js"
99
],
10+
"templates": "templates",
1011
"modules": {
1112

1213
}

templates/templates.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
You can override templates from Harmony theme by placing your tpl files in this folder.
2+
3+
Use the same filename as the file you want to override. For example if you want to override recent.tpl name your file recent.tpl. If you want to override groups/list.tpl name your file groups/list.tpl and so on.
4+
5+
You can also create entirely new templates and render them in an express route with `res.render('/path/to/yourtemplate', dataToUse);`

0 commit comments

Comments
 (0)