title: Ejs engine with html not working
body: <p>i'm using html files instead of ejs, but the express engine is ejs</p>
  
  <pre><code>views
  |
  |--header.html
  |--footer.html
  |
  |--index.html
  </code></pre>
  
  <p>I configured like</p>
  
  <pre><code>app.set('views', __dirname + '/views');
  app.engine('html', require('ejs').renderFile);  
  </code></pre>
  
  <p>I render my <code>index</code> template by this:</p>
  
  <pre><code>res.render('index.html', {title: 'test'});
  </code></pre>
  
  <p>But how can i include header and footer.html in  index.html</p>
  
  <p>Similar posts
  <a href="https://stackoverflow.com/questions/12000824/node-js-express-confuse-about-ejs-template">Node.js express: confuse about ejs template</a></p>
  
  <p>Existing example which is not working
  <a href="https://github.com/visionmedia/express/tree/master/examples/ejs" rel="nofollow noreferrer">https://github.com/visionmedia/express/tree/master/examples/ejs</a></p>