Here at Viget we use Twig much more than we use Nunjucks. This PR adds the option to use Twig.js (logo by yours truly;) to process template files. html task defaults to nunjucks for backwards compatibility.
Basic use: in task-config.js, set html.templateLanguage to `twig.
Here at Viget we use Twig much more than we use Nunjucks. This PR adds the option to use Twig.js (logo by yours truly;) to process template files. html task defaults to nunjucks for backwards compatibility.
Basic use: in
task-config.js
, sethtml.templateLanguage
to `twig.e.g.
Advanced use: pass
gulp-twig
options intask-config.js
'shtml.twig
First commit is to streamline development of Blendid. Third commit is a little tidying up I noticed
Can take it for a spin with