title: layout is not defined in ejs-mate package
body: <p><a href="https://i.stack.imgur.com/IXH6V.png" rel="nofollow noreferrer">error
  </a></p>
  <p><a href="https://i.stack.imgur.com/BXRs1.png" rel="nofollow noreferrer">boilerplate</a></p>
  <p>I have no clue why layout is not defined i have install ejs-mate and ejs and still says this</p>
  <pre><code>
  &lt;% layout('layouts/boilerplate') %&gt;
  
  &lt;h1&gt;All campgrounds &lt;/h1&gt;
  &lt;div&gt;
      &lt;a href=&quot;/campgrounds/new&quot;&gt;Add New Campground&lt;/a&gt;
  &lt;/div&gt;
  &lt;ul&gt;
  
      &lt;% for(let campground of campgrounds ){%&gt;
  
              &lt;li&gt;&lt;a href = &quot;/campgrounds/&lt;%=campground._id%&gt;&quot;&gt;&lt;%=campground.title%&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;%}%&gt;
  &lt;/ul&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/zXadt.png" rel="nofollow noreferrer">files</a></p>