Skip to content

Commit

Permalink
Merge pull request #333 from mgrsskls/master
Browse files Browse the repository at this point in the history
Use `namespaces` option for twig engine
  • Loading branch information
niftylettuce authored Sep 8, 2020
2 parents 9f4e776 + fffd15b commit 72e1fc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/consolidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ exports.twig.render = function(str, options, cb) {
var templateData = {
data: str,
allowInlineIncludes: options.allowInlineIncludes,
namespaces: options.namespaces,
path: options.path
};
try {
Expand Down

0 comments on commit 72e1fc5

Please sign in to comment.