get-assemble-partial-path

0.0.3 • Public • Published

get-assemble-partial-path

npm version travis dependencies devDependencies License

Get the assemble partial path

Install

$ npm i --save get-assemble-partial-path

Usage

In assemble plugin:

var getPartialPath = require('get-assemble-partial-path');
 
module.exports = function (params, cb) {
 
  getPartialPath(params, 'header', function (err, data) {
    console.log(data);
    cb();
  });
};
 
module.exports.options = {
  stage: 'render:post:pages'
};

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i get-assemble-partial-path

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • makotot