|
|
@ -97,6 +97,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
translator.loadServer();
|
|
|
|
translator.loadServer();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var customTemplates = meta.config['theme:templates'] ? path.join(__dirname, 'node_modules', meta.config['theme:id'], meta.config['theme:templates']) : false;
|
|
|
|
|
|
|
|
|
|
|
|
// todo: replace below with read directory code, derp.
|
|
|
|
// todo: replace below with read directory code, derp.
|
|
|
|
templates.init([
|
|
|
|
templates.init([
|
|
|
|
'header', 'footer', 'logout', 'outgoing', 'admin/header', 'admin/footer', 'admin/index',
|
|
|
|
'header', 'footer', 'logout', 'outgoing', 'admin/header', 'admin/footer', 'admin/index',
|
|
|
@ -104,7 +106,8 @@
|
|
|
|
'emails/header', 'emails/footer',
|
|
|
|
'emails/header', 'emails/footer',
|
|
|
|
|
|
|
|
|
|
|
|
'noscript/header', 'noscript/home', 'noscript/category', 'noscript/topic'
|
|
|
|
'noscript/header', 'noscript/home', 'noscript/category', 'noscript/topic'
|
|
|
|
]);
|
|
|
|
], customTemplates);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates.ready(webserver.init);
|
|
|
|
templates.ready(webserver.init);
|
|
|
|
|
|
|
|
|
|
|
|