Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.01 KB

.verbrc.md

File metadata and controls

47 lines (31 loc) · 1.01 KB

{%= name %}

{%= description %}

WARNING!!!

Since gulp-assemble is using the v0.6.0-alpha branch of Assemble, this is not ready to be used unless you're willing to deal with daily changes, broken code, and lack of documentation.

Install

Install with npm

npm i assemble/gulp-assemble

Next, cd into the project and run npm install to install dependencies.

Usage

Example gulpfile.js with gulp-assemble and gulp-htmlmin:

var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');
var assemble = require('gulp-assemble');

gulp.task('assemble', function () {
  gulp.src('pages/*.hbs')
    .pipe(assemble({layout: 'default'}))
    .pipe(htmlmin({collapseWhitespace: true}))
    .pipe(gulp.dest('_gh_pages/'));
});

gulp.task('default', ['assemble']);

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}