Gulp plugin uses @neos21/template-html to generate static HTML files from templates and content files.
$ npm install @neos21/gulp-template-html
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'));
});
See the examples directory for an example of how to generate static HTML files from a template.
- 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.
- Fork the project in your account and create a new branch:
your-great-feature
. - Commit your changes in that branch.
- Open a pull request, and reference the initial issue in the pull request message.
See the LICENSE file.