title: Serving static files in Express with mustache templating
body: <p>I'm trying to serve a folder of static mustache files from Express, but can't seem to figure out how to get it working. Say I just have an object of data like</p>
  
  <pre><code>{
    a: 'Hello :)'
    b: 'Goodbye :('
  }
  </code></pre>
  
  <p>And two files, </p>
  
  <p><code>public/a.html</code></p>
  
  <pre><code>&lt;div&gt;{{a}}&lt;/div&gt;
  </code></pre>
  
  <p><code>public/b.html</code></p>
  
  <pre><code>&lt;div&gt;{{b}}&lt;/div&gt;
  </code></pre>
  
  <p>How could I get express setup to where it serves any arbitrary number of static html files and replaces the templated parts with just my one big object? Thanks!</p>