title: Ejs-partial problems with express3 layouts not working
body: <p>I just found out that express 3 breaks ejs layout functionality so im trying to write some code using <a href="https://github.com/publicclass/express-partials" rel="nofollow noreferrer">https://github.com/publicclass/express-partials</a> which is supposed to re add layout functionality into express, however the &lt;%- body %> tag in my layout file is never replaced by the specified ejs file no matter how much I try
  Heres my app.js</p>
  
  <pre><code>var express = require('express')
  , partials = require('express-partials');
  var mainscreen = require('./routes/mainscreen');
  
  var user = require('./routes/user');
  var http = require('http');
  var path = require('path');
  
  var app = module.exports = express();
  
  // all environments
  app.set('port', process.env.PORT || 3000);
  app.set('views', path.join(__dirname, 'views'));
  app.set('view engine', 'ejs');
  app.use(express.favicon());
  app.use(express.logger('dev'));
  app.use(express.bodyParser());
  app.use(express.methodOverride());
  app.use(express.cookieParser('your secret here'));
  app.use(express.session());
  app.use(app.router);
  app.use(partials());
  app.use(express.static(path.join(__dirname, 'public')));
  // development only
  if ('development' == app.get('env')) {
    app.use(express.errorHandler());
  }
  app.get('/', mainscreen.mainscreen);
  app.get('/users', user.list);
  
  http.createServer(app).listen(app.get('port'), function(){
    console.log('Express server listening on port ' + app.get('port'));
  });
  </code></pre>
  
  <p>Here's my route</p>
  
  <pre><code>exports.mainscreen = function(req, res, next){
    res.render('index.ejs', { 
                          title:'Title',
                          titleinfobar: 'Title',
                          accountinfobar: 'Not signed in',
                          bodycontent: 'Body of the doc'});
  </code></pre>
  
  <p>layout.ejs</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;&lt;%= title %&gt;&lt;/title&gt;
      &lt;link rel='stylesheet' href='/stylesheets/style.css' /&gt;
    &lt;/head&gt;
    &lt;body&gt;
          &lt;%- body %&gt;     
    &lt;/body&gt;               
  &lt;/html&gt;  
  </code></pre>
  
  <p>and index.ejs</p>
  
  <pre><code>&lt;div class="head"&gt;
          &lt;div class="col-big"&gt;&lt;div id="righttitle"&gt;&lt;%=titleinfobar %&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class="col-small"&gt;&lt;div id="lefttitle"&gt;&lt;%=accountinfobar %&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="contentbody"&gt;
          &lt;div id="content"&gt;
                  &lt;%= bodycontent %&gt;
          &lt;/div&gt;          
  &lt;/div&gt;  
  </code></pre>