Frank Robert Anderson

I am a Developer who does web good and likes to do other stuff good too.

  • Blog
  • Tutorials
  • Rants
  • Everything
  • Back to My Site

Cms

Step One on replacing Jekyll, make yaml work

Written on July 26, 2015

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 …

Footer

Social Networks

Blogroll

Blob of contradictions
iCodealot

© 2026 Frank Robert Anderson