title: ejs include function can not find the template with html extension
body: <p>My ejs engine set up is app.js is like below:</p>
  
  <pre><code>// this parse html file as ejs file
      app.engine('.html', require('ejs').__express);
      app.set('view engine', 'html');
      app.set('views', __dirname + '/view');
  </code></pre>
  
  <p>My directory is like this:</p>
  
  <pre><code>view (folder)
    home.html
    head.html
  app.js
  </code></pre>
  
  <p>Home.html is like this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8" /&gt;
  &lt;title&gt;home&lt;/title&gt;
  &lt;% include head %&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and head.html is like this:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="css/main.css"&gt;
  &lt;script type="text/javascript" src="js/jquery-1.5.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>the problem is the file head.html will not be parsed if the extension was html. Error says it expect ejs file. So there is a problem with include function?</p>