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

[feature request] support custom globals in pug templates #54

Open
greaterweb opened this issue May 8, 2017 · 0 comments
Open

[feature request] support custom globals in pug templates #54

greaterweb opened this issue May 8, 2017 · 0 comments

Comments

@greaterweb
Copy link

First off, great library! Just getting started using nucleus and it seems to loaded with potential.

For my test project I've copied the view templates locally to customize. All is working well but I'd really like attach some custom globals to the meta object which is available in the templates.

This could be implemented pretty easy but updating the render config. This might be something which makes sense to support only from the config file but I suppose it's possible to support as a CLI option as well. If time permits this week I'll try to submit a PR for the request to help you along.

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

1 participant