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

Redundant assets in template locals #201

Open
smashwilson opened this issue Dec 3, 2015 · 0 comments
Open

Redundant assets in template locals #201

smashwilson opened this issue Dec 3, 2015 · 0 comments

Comments

@smashwilson
Copy link
Member

The context used to render Nunjucks templates includes global assets in two places:

I tend to prefer the latter as it's a little shorter to reference within templates, a little cleaner in terms of architecture, and most of our "real" templates are already using it. Getting rid of the former should be a matter of doing some final grepping in nexus-control, deleting some code in the content service, and updating our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant