Skip to content
New issue

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

feat: allow passing array of template paths for nunjucks engine #306

Merged
merged 1 commit into from
May 2, 2022

Conversation

gunjam
Copy link
Contributor

@gunjam gunjam commented Apr 27, 2022

Hello,

Nunjucks allows you to load templates from mulitple paths, a feature I need as I will be rendering views local to the project, but they will be utilising shared components from an npm module. So I've added support in this PR.

Thanks!

Checklist

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gunjam gunjam force-pushed the nunjucks-template-paths branch from f02eebc to 97f49f7 Compare April 30, 2022 15:09
@gunjam gunjam force-pushed the nunjucks-template-paths branch from 97f49f7 to 85e2c3f Compare April 30, 2022 15:17
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit dd4e69b into fastify:master May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants