Open Melindrea opened 9 years ago
filename : Assemblefile.js line # : 30 tag : fix md5 : 992d37c33172d7242f5533664f9984de
// [fix] - Replace once the globbing pattern works // helpers = system.helpers + '/{,*/}helper-**.js', path = require('path'), glob = require('glob'), helperFiles = glob.sync(system.root + '/' + system.helpers + '/{,*/}helper-**.js'), helpers = helperFiles.reduce(function (acc, fp) { return extend(acc, require(path.resolve(fp))); }, {}); // Load system - These three should be broken out and put in assemble-system assemble.layouts(system.root + '/' + system.layouts + '/**.hbs'); assemble.helpers(helpers); assemble.partials(system.root + '/' + system.partials + '/**.hbs'); assemble.option(config.site.assemble.options); assemble.option('site', config.site.site); assemble.option('navigation', config.site.navigation);
filename : Assemblefile.js line # : 30 tag : fix md5 : 992d37c33172d7242f5533664f9984de