This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
Adds Twig support to the HTML task (the default is still Nunjucks).
Basic use: in task-config.js
, set html.templateLanguage
to twig
.
html : {
templateLanguage: 'twig',
},
Advanced use: pass gulp-twig
options in task-config.js
's html.twig
html: {
templateLanguage: 'twig',
twig: {…},
},