gulp-zetzer
v1.0.4
Published
Gulp plugin for Zetzer - a static HTML page generator
Downloads
2
Maintainers
Readme
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". [zetzer]: https://github.com/brainshave/zetzer
License
- Author: Jan Rembold
- License: MIT