mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
template compiling init; changing themes now finally works on this branch
This commit is contained in:
@@ -144,7 +144,7 @@ module.exports = function(app, middleware) {
|
||||
|
||||
app.get_custom_templates = function() {
|
||||
return custom_routes.templates.map(function(tpl) {
|
||||
return tpl.template.split('.tpl')[0];
|
||||
return tpl.template;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user