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

Mutliple sets of JS Assets #9

Open
jpoiri opened this issue Nov 22, 2016 · 1 comment
Open

Mutliple sets of JS Assets #9

jpoiri opened this issue Nov 22, 2016 · 1 comment

Comments

@jpoiri
Copy link

jpoiri commented Nov 22, 2016

Hi,

I was like to know if this plugin supports have multiple sets of JS assets for example load these assets for the whole application, but these other assets just for specific templates.

@SimonEast
Copy link

Hi @jpoiri - yes, I believe the plugin supports that correctly. You can use multiple {% filter ... %} blocks, and each one will output a separate CSS/JS file. A good practice might be to have one set that is used in your site-wide layout file, and another set that is included only on specific pages where those assets are required.

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