title: Can Mustache Templates do template extension?
body: <p>I'm new to Mustache.</p>
  
  <p>Many templating languages (e.g., <strong>Django</strong> / <strong>Jinja</strong>) will let you extend a "parent" template like so...</p>
  
  <h3>base.html</h3>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;
      &lt;body&gt;
      {% block content %}{% endblock %}
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <h3>frontpage.html</h3>
  
  <pre><code>{% extends "base.html" %}
  {% block content %}&lt;h1&gt;Foobar!&lt;/h1&gt;{% endblock %}
  </code></pre>
  
  <h3>rendered frontpage.html</h3>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;
      &lt;body&gt;
      &lt;h1&gt;Foobar!&lt;/h1&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I'm aware of Mustache's <em>partials</em> (e.g., <code>{{&gt;content}}</code>), but those seem to be just <em>includes</em>.</p>
  
  <p>Does template extension exist for Mustache? Or, failing that, is there at least some design pattern that effectively turns <em>includes</em> into template extension equivalents.</p>