Skip to content

Gulp task to render using liquid templating engine

License

Notifications You must be signed in to change notification settings

PolyPik/gulp-liquid

 
 

Repository files navigation

gulp-liquid

NPM version Build Status Dependency Status

Gulp task to render using liquid templating engine

Usage

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"));

API

liquid(options)

options.templatePath

Type: String Default: undefined Required: true

options.locals

Type: Object Default: {} Required: true

The locals object is passed as template variables to the liquid templating engine.

License

MIT License

About

Gulp task to render using liquid templating engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%