title: Render raw HTML
body: <p>I want to render raw <code>.html</code> pages using Express 3 as follows:</p>
  
  <pre><code>server.get('/', function(req, res) {
      res.render('login.html');
  }
  </code></pre>
  
  <p>This is how I have configured the server to render raw HTML pages (inspired from <a href="https://stackoverflow.com/questions/4529586/render-basic-html-view-in-node-js-express">this outdated question</a>):</p>
  
  <pre><code>server
      .set('view options', {layout: false})
      .set('views', './../')
      .engine('html', function(str, options) {
          return function(locals) {
               return str;
          };
      });
  </code></pre>
  
  <p>Unfortunately, with this configuration the page hangs and is never rendered properly. What have I done wrong? How can I render raw HTLM using Express 3 without fancy rendering engines such as Jade and EJS?</p>