We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/zimmen/gulp-twig/blob/004763d9b581be9b6e13290a37622a891c9a1b80/index.js#L16
gulp.src(['./views/**/*.html']) .pipe(twig({ base: './views/', data: { tilte: 'sss'} // data }))
if I use the variable in one template, like this
{% set title = 'register' %}
ALL Template would be has data.title while equal to 'register'
https://www.npmjs.com/package/map-stream
change to
var data = file.data || Object.assign({}, options.data) || {};
The text was updated successfully, but these errors were encountered:
The fix for this in #45 is working, please take a look @zimmen
Sorry, something went wrong.
https://github.com/zimmen/gulp-twig/releases/tag/v1.2.0
No branches or pull requests
https://github.com/zimmen/gulp-twig/blob/004763d9b581be9b6e13290a37622a891c9a1b80/index.js#L16
if I use the variable in one template, like this
ALL Template would be has data.title while equal to 'register'
https://www.npmjs.com/package/map-stream
change to
The text was updated successfully, but these errors were encountered: