template compiling init; changing themes now finally works on this branch

This commit is contained in:
psychobunny
2014-03-04 17:49:56 -05:00
parent 88e5ddac76
commit 552eb78db8
4 changed files with 81 additions and 32 deletions

View File

@@ -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;
});
};