title: Assemble 0.6.0: How do I apply multiple templates to my source files?
body: <p>I want Assemble to take my source files (/src/hbs/*.hbs) and create two separate files (e.g. one with a header, footer and nav, and another with just the code snippet). I've created two templates (default(full page) and empty (just a wrapper)). I'm using gulp assemble and it looks like this:</p>
  
  <pre><code>gulp.task('assemble', function () {
    assemble.layouts(paths.templates.layouts);
    assemble.partial(paths.templates.partials);
  
    gulp.src(paths.sources.handlebars)
      .pipe(gulpAssemble(assemble, { layout: 'default' }))
      .pipe(prettify())
      .pipe(rename({basename:'index', extname:'.html'}))
      .pipe(gulp.dest(paths.build.www));
  });
  
  gulp.task('snippet', function(){
    assemble.layouts(paths.templates.layouts);
    assemble.partial(paths.templates.partials);
  
    gulp.src(paths.sources.handlebars)
      .pipe(gulpAssemble(assemble, { layout: 'empty' }))
      .pipe(prettify())
      .pipe(rename({extname:'.html'}))
      .pipe(gulp.dest(paths.build.www));
  
  });
  </code></pre>
  
  <p>When I run gulp both files are wrapped in the default template. What am I missing?</p>