Gulp task to render using liquid templating engine
First, install gulp-liquid
npm install --save-dev gulp-liquid
Then, add it to your gulpfile.js
:
var liquid = require("gulp-liquid");
gulp.src("./src/*.ext")
.pipe(liquid({
locals: {}
}))
.pipe(gulp.dest("./dist"));
Type: String
Default: undefined
Required: true
Type: Object
Default: {}
Required: true
The locals object is passed as template variables to the liquid templating engine.