Step One on replacing Jekyll, make yaml work
As you might remember in my post on replacing Jekyll with Gulp (and my post on Jekyll). YAML will be a large part of getting this working.
YAML Parsing
First am trying to use npm-yaml. Simple installation, npm install --save-dev npm-yaml. And it works great with the _config file that holds general site information. So I try it with the html.
gulp.task('test-index', function() {
var config = gulp.src('./index.html')
.pipe(yaml({ space: 2 }))
.pipe(gulp.dest('./gulp-dist/'))
})
With that I get a big fat …
