GPaniniBuilder
Panini project builder.
See panini{:target='_blank'} to learn more about panini. zerb foundation{:target='_blank'} is also explaining panini well with good examples.
Builder specific Options
None
Example
const panini = {
name: 'panini',
builder: 'GPaniniBuilder',
// panini does not handle backslashes correctly, so replace them to slash using upath
src: [upath.join(srcRoot, 'pages/**/*')],
dest: upath.join(destRoot, ''),
moduleOptions: {
panini: {
root: upath.join(srcRoot, 'pages/'),
layouts: upath.join(srcRoot, 'layouts/'),
partials: upath.join(srcRoot, 'partials/'),
data: upath.join(srcRoot, 'data/'),
helpers: upath.join(srcRoot, 'helpers/')
}
}
};