deconst / deconst-docs

Documentation for the Deconst project itself.
https://deconst.horse/
6 stars 12 forks source link

Redundant assets in template locals #201

Open smashwilson opened 8 years ago

smashwilson commented 8 years ago

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.