title: How to apply a layout to all routes in a /pages' subfolder?
body: <p>I created some routes in the <code>/pages</code> <strong>(next.js)</strong> folder and a subfolder <code>/account</code>.
  I want to apply a layout to all pages located in <code>/account</code> subfolder.</p>
  <p>How can I do that easily without applying the layout to every single page in <code>/account</code> ?</p>
  <h2>Example</h2>
  <p>I want to apply a layout to <code>profile.js</code> and <code>settings.js</code>.</p>
  <pre><code>components/
  pages/
   - home.js
   - account/
      - profile.js
      - settings.js
  ...
  </code></pre>
  <p>Any suggestion regarding the architecture will be appreciated!</p>