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

Nunjucks: Allow adding custom loaders #224

Open
WoMayr opened this issue Jun 12, 2017 · 2 comments
Open

Nunjucks: Allow adding custom loaders #224

WoMayr opened this issue Jun 12, 2017 · 2 comments

Comments

@WoMayr
Copy link

WoMayr commented Jun 12, 2017

I am currently missing an option to add custom loaders to the nunjucks templating engine.

In my opinion this would be easy to fix by adding loaders similar to filters to nunjucks-template-engine.js

@petebacondarwin
Copy link
Member

A simple workaround would be to provide your own implementation of templateEngine which adds these loaders.
But happy to accept a PR that updates the standard one with an option to add loaders.

@WoMayr
Copy link
Author

WoMayr commented Jun 12, 2017

I sent you a pull request

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

No branches or pull requests

2 participants