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
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.4 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.4 | 0 | |
1.0.3 | 0 | |
1.0.2 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads