Gulp 每页有不同的脚挡

Gulp 每页有不同的脚挡,gulp,handlebars.js,assemble,Gulp,Handlebars.js,Assemble,我有一个自定义的handelbars助手 //custom-helper.js module.exports=函数(名称、选项){ 如果(!this.\u节){ this.sections={}; } this._sections[name]=options.fn(this); 返回null; }; //向汇编注册 var-app=assembly(); app.helper('section',require('./custom helper.js'))将标签插入标题。SO上不允许将标签插入

我有一个自定义的handelbars助手

//custom-helper.js
module.exports=函数(名称、选项){
如果(!this.\u节){
this.sections={};
}
this._sections[name]=options.fn(this);
返回null;
};
//向汇编注册
var-app=assembly();

app.helper('section',require('./custom helper.js'))将标签插入标题。SO上不允许将标签插入标题。