Skip to content

Commit f5af17f

Browse files
committed
Set transformer explicitly
1 parent 02c6d25 commit f5af17f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/metalsmith.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ module.exports = metalsmith
215215
default: 'layout.njk',
216216
directory: join(paths.views, 'layouts'),
217217
pattern: '**/*.html',
218-
engineOptions: nunjucksOptions
218+
engineOptions: nunjucksOptions,
219+
transform: 'nunjucks'
219220
})
220221
)
221222

0 commit comments

Comments
 (0)