modules/default.js
function(data) {
        if(data.blocks) delete data.blocks
        
        if(!controllersCount && request.page) {
            callback(null, {code: 404})
            return;
        }
        
        data.request = request
       
        me.server.tpl(me.tpls[data.tpl].tpl, data, function(code) {          
            callback(code);
        }, request.locale)
    }
function(data) {
        if(data.blocks) delete data.blocks
        
        if(!controllersCount && request.page) {
            callback(null, {code: 404})
            return;
        }
        
        data.request = request
       
        me.server.tpl(me.tpls[data.tpl].tpl, data, function(code) {          
            callback(code);
        }, request.locale)
    }
Готовые данные кладем в шаблон