get-assemble-pages

0.0.4 • Public • Published

get-assemble-pages

npm version travis dependencies devDependencies License

Get assemble page files.

Install

$ npm i --save get-assemble-pages

Usage

In assemble plugin:

var getPages = require('get-assemble-pages');
 
module.exports = function (params, cb) {
 
  getPages(params, function (err, data) {
    console.log(data);
    // => [ 'src/pages/docs.hbs',
            'src/pages/example.hbs',
            'src/pages/index.hbs',
            ... ]
    cb();
  });
};
 
module.exports.options = {
  stage: 'render:post:pages'
};

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i get-assemble-pages

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • makotot