misterbrownlee / gulp-ejs-pages

Build a static site from EJS files and metadata.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status

Information

Packagegulp-ejs-pages
Node Version>= 0.10

Description

This gulp plugin aims to take a tree of folders with EJS and JSON files and turn it into the same folder structure with HTML files.

Usage

// ... other requires
var ejsPages = require('gulp-ejs-pages');

gulp.task('html', function() {
  return gulp.src('./pages/**/*.ejs')
    .pipe(ejsPages())
    // ... more stuff and things
    .pipe(gulp.dest('./www/'));
});

In Progress

About

Build a static site from EJS files and metadata.

License:MIT License


Languages

Language:JavaScript 95.9%Language:HTML 4.1%