Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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

install

npm i gulp-zetzer

Downloadsweekly downloads

66

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability