gulp-zetzer
1.0.4 • Public • Published gulp-zetzer
Gulp plugin for zetzer - static HTML page generator
Install
$ npm install --save-dev gulp-zetzer
Usage
var gulp = require('gulp');
var zetzer = require('gulp-zetzer');
gulp.task('zetzer', function(){
gulp.src('./src/*.html')
.pipe(zetzer())
.pipe(gulp.dest('./build'));
});
More advanced options
gulp.task('zetzer', function(){
gulp.src('./src/*.html')
.pipe(zetzer({
partials: './src/partials',
templates: './src/layouts',
dot_template_settings: {
strip: false
},
env: {
env_string: 'Some plain string to use with it.document.env_string'
}
}))
.pipe(gulp.dest('./build'));
});
All possible options are listed in the main zetzer project.
New features should be implemented in zetzer. This is just a Gulp "front-end".
License
- Author: Jan Rembold
- License: MIT
/gulp-zetzer/
//
Package Sidebar
Install
Weekly Downloads