title: How do I include partials?
body: <p>I got this: </p>
  
  <p><strong>main.vm</strong></p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt; test &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  $content
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This should serve as the default template for all other views which are going to be included.</p>
  
  <p>For example this one: </p>
  
  <p><strong>example.vm</strong></p>
  
  <pre><code>#define($content)
  &lt;div&gt;
  &lt;p&gt; Hello World ! &lt;/p&gt;
  &lt;/div&gt;
  
  #end
  </code></pre>
  
  <p>How do I include that partial as content into the main.vm file?
  Am I defining my templates right?</p>
  
  <p>I couldn't figure out that from the official docs.</p>
  
  <p>I'm using Spring Boot, everything is set up correctly.</p>
  
  <p>All the templates are in the same folder:</p>
  
  <p><strong>/resources/templates</strong></p>
  
  <p>edit: </p>
  
  <p>The main idea is to have one boilerplate html file with all the script tags and link tages, head and body.</p>
  
  <p>This should be the main template with a <strong>$content</strong> variable, this is a placeholder for every other page.</p>
  
  <p>Now every other page should be included into that main page.</p>
  
  <p>How do I achieve that? </p>