title: How to include handlebar file into another?
body: <p>My views folder structure</p>
  <pre><code>view
  --&gt;layouts
  ----&gt;main.hbs
  --&gt;partials
  ----&gt;header.hbs
  ----&gt;footer.hbs
  --&gt;pages
  ----&gt;user
  ------&gt;includes
  --------&gt;list.hbs
  ----&gt;index.hbs
  </code></pre>
  <p>I can import partials files like header and footer in main.hbs
  but have no idea about including list.hbs into pages/user/index.hbs.</p>
  <p>This is my handlebars configuration</p>
  <pre><code>const path = require('path');
     const exphbs = require('express-handlebars');
     app.set('views', path.join(__dirname, '../views'));
     app.set('view engine', 'hbs');
     app.engine(
         'hbs',
          exphbs.engine({
              extname: 'hbs',
              layoutsDir: path.join(__dirname, '../views', 'layouts'),
              partialsDir: path.join(__dirname, '../views', 'partials'),
              defaultLayout: 'main'
          }),
         
     );
  </code></pre>