title: How to set separate (or multiple) template paths for pages and partials in Mustache with Sinatra?
body: <p>I set the template path:</p>
  
  <pre><code>class Mustache
    self.template_path = 'templates/pages'
  end
  </code></pre>
  
  <p>This works fine.</p>
  
  <p>But, I want to store the partials in a separate folder: <code>templates/partials</code>.</p>
  
  <p>A mustache template looks like:</p>
  
  <pre><code>Hello {{ name }}
  Your info: {{&gt; info }
  </code></pre>
  
  <p><code>info.mustache</code> is a partial.</p>
  
  <p>The info partial has no class, so I can't set <code>self.template_path</code>.</p>
  
  <p>So, how to set a template path for a partial, or have multiple template paths?</p>
  
  <pre><code>self.template_path = 'templates'
  self.template_path = 'templates/'
  self.template_path = 'templates/*'
  self.template_path = 'templates/**'
  self.template_path = [ 'templates/pages', 'templates/partials' ]
  </code></pre>
  
  <p>did not work.</p>