title: Gulp Haml Include HTML as a partial
body: <p>I'm using gulp to render haml using <code>gulp-haml-coffee</code></p>
  
  <p>I want to do something like this:</p>
  
  <p><strong>header.html</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;!doctype html&gt;
      
      &lt;html lang="en"&gt;
      &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
      
        &lt;title&gt;Website Title&lt;/title&gt;
      
        &lt;link rel="stylesheet" href="style.css?v=1.0"&gt;
      &lt;/head&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>home.haml</strong></p>
  
  <pre><code>   INCLUDE header.html
     .content
         Regular Haml Content
     INCLUDE footer.html
  </code></pre>
  
  <p><strong>footer.html</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The tricky part for me is that it is a mix of HTML and Haml and I want them to be combined into one file automatically using Gulp.</p>
  
  <p>Here is the current Gulp task:</p>
  
  <pre><code>// HAML
  gulp.task('haml', function() {
      return gulp.src('app/source/**/*.haml')
      .pipe(customPlumber('HAML Error'))
      .pipe(sourcemaps.init())
      .pipe(haml({trace:true}))
      .pipe(sourcemaps.write())
      .pipe(gulp.dest('./app/compiled'))
      .pipe(browserSync.reload({
        stream: true
      }))
  });
  </code></pre>
  
  <p>The haml conversion is working but I can't figure out how to include plain HTML files as part of the conversion.</p>
  
  <p>I'm going to be creating several other haml files (about, contact, etc.)</p>
  
  <p>This is what I would want the rendered HTML to be:</p>
  
  <p><strong>home.html</strong></p>
  
  <p>
  
  <pre><code>&lt;!doctype html&gt;
  
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
  
    &lt;title&gt;Website Title&lt;/title&gt;
  
    &lt;link rel="stylesheet" href="style.css?v=1.0"&gt;
  &lt;/head&gt;
  
  &lt;div class="content"&gt;
      Regular Haml Content
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>