title: Is it possible to add multiple <%- %> statements to a node.js ejs layout
body: <p>I'm just starting out with node.js, express and ejs. And I'm having a hard time with the layout.ejs file. What I'm trying to do is something similar to what you can do in .net where you have multiple content placeholders and in the view you can have multiple blocks that go into the different placeholders.</p>
  
  <p>Something like this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
           &lt;title&gt;&lt;%- title %&gt;&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;%- body %&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How should my views look like?</p>