Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Twig

Latest
Compare
Choose a tag to compare
@olets olets released this 12 Feb 19:47
· 2 commits to master since this release
42be028

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: {},
},