This commit is contained in:
Barış Soner Uşaklı 2024-01-01 18:32:24 -05:00
parent aed5971d90
commit 8f488a681d
3 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,6 @@
]
},
"dependencies": {
"bent": "^7.3.12"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",

View File

@ -7,6 +7,7 @@
"public/client.js",
"../nodebb-theme-harmony/public/harmony.js"
],
"templates": "templates",
"modules": {
}

5
templates/templates.md Normal file
View 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);`