Skip to content

Instantly share code, notes, and snippets.

@hoosteeno
Last active April 7, 2016 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoosteeno/b506485dd0e6707c587f8b061113c77e to your computer and use it in GitHub Desktop.
Save hoosteeno/b506485dd0e6707c587f8b061113c77e to your computer and use it in GitHub Desktop.
// doesn't work: frontmatter isn't substituted for template tags
.use(inplace({
engine: 'nunjucks',
pattern: '*.html',
directory: './source/extra_dir'
}))
// doesn't work: throws a template error on build
.use(inplace({
engine: 'nunjucks',
pattern: '**/*.html',
directory: './source'
}))
// works
.use(inplace({
engine: 'nunjucks',
pattern: '*.html',
directory: './source'
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment