Open jitendravyas opened 8 years ago
Yes. Though I would also prefer to not to keep files names mentioned in my gulpfile. Would not want to edit it every time I add a new template and page. I currently user Nunjucks for that http://mozilla.github.io/nunjucks/templating.html#template-inheritance
Then I guess you could use something like that:
gulp.task('templates', function () {
return gulp.src('./templates/*')
.pipe(/* posthtml with posthtml-extend included */)
});
@jitendravyas did you find a solution for yourself?
Do you mean something like that?