Skip to content

Commit bfbf4c2

Browse files
authored
Merge pull request #197 from jameswragg/patch-1
Update Nunjucks example
2 parents 6cfd2d8 + e75b69c commit bfbf4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/nunjucks/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ internals.main = async function () {
3636
html: {
3737
compile: (src, options) => {
3838

39-
const template = Nunjucks.compile(src, options.environment);
39+
const template = Nunjucks.compile(src, options.environment, options.filename);
4040

4141
return (context) => {
4242

0 commit comments

Comments
 (0)