fix: #11
This commit is contained in:
parent
aed5971d90
commit
8f488a681d
@ -18,7 +18,6 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"bent": "^7.3.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "11.0.0",
|
||||
|
@ -7,6 +7,7 @@
|
||||
"public/client.js",
|
||||
"../nodebb-theme-harmony/public/harmony.js"
|
||||
],
|
||||
"templates": "templates",
|
||||
"modules": {
|
||||
|
||||
}
|
||||
|
5
templates/templates.md
Normal file
5
templates/templates.md
Normal file
@ -0,0 +1,5 @@
|
||||
You can override templates from Harmony theme by placing your tpl files in this folder.
|
||||
|
||||
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.
|
||||
|
||||
You can also create entirely new templates and render them in an express route with `res.render('/path/to/yourtemplate', dataToUse);`
|
Loading…
x
Reference in New Issue
Block a user