title: includes in express 500 error - .html extension view engine
body: <p>I have an express app where my views are set to HTML, but I'm actually using the ejs engine, to preserve the .html extension. It looks like this:</p>
  
  <pre><code>app.set('views', path.join(__dirname, 'views'));
  app.set('view engine', 'html');
  app.engine('html', ejs.renderFile);
  app.use(expressLayouts);
  </code></pre>
  
  <p>I want to use ejs includes in my templates. My folder structure is as follows:</p>
  
  <p><code>views/includes/include.html</code></p>
  
  <p>My include looks like this:</p>
  
  <p><code>&lt;% include includes/include %&gt;</code></p>
  
  <p>When setting the view engine to ejs (so for example <code>app.set('view engine', 'ejs');</code>) the includes works as expected. But when using the view engine configuration that I have now (<code>app.set('view engine', 'html');
      app.engine('html', ejs.renderFile);</code>) I get this:</p>
  
  <blockquote>
    <p>GET / 500 2.074 ms - 2580 Error: Could not find include include file.</p>
  </blockquote>
  
  <p>In my view engine, do I need to explicitly set it to ejs, vs. the approach I'm taking now? How can I get includes to work with the .html extension?</p>