@neos21/gulp-template-html : Generate static HTML files from templates and content files.
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead, 14 commits behind grit96:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json
test.js

README.md

gulp-template-html

NPM Version

Gulp plugin uses @neos21/template-html to generate static HTML files from templates and content files.

Installation

$ npm install @neos21/gulp-template-html

Gulpfile

var gulp = require('gulp');
var template = require('@neos21/gulp-template-html');

gulp.task('default', () => {
  return gulp
    .src('content/*.html')
    .pipe(template('templates/template.html'))
    .pipe(gulp.dest('dist'));
});

Example Usage

See the examples directory for an example of how to generate static HTML files from a template.

How to contribute

  1. File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
  2. Fork the project in your account and create a new branch: your-great-feature.
  3. Commit your changes in that branch.
  4. Open a pull request, and reference the initial issue in the pull request message.

License

See the LICENSE file.

Author

Neo (@Neos21)

Links