I'm hoping to do something like this:
gulp.src('src/*.html')
.pipe(fm ({
property: 'fm'
}))
.pipe(wrap({
src: fm['template']
}))
where template
is a value in the front-matter. I can create a separate function where I pass the value using gulp-tap but I was hoping to keep it
"simple". I don't think gulp-wrap
supports accessing front-matter vars.