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

Flexible ignore functions to exclude files from template #5

Open
contentkraft opened this issue Apr 19, 2016 · 0 comments
Open

Flexible ignore functions to exclude files from template #5

contentkraft opened this issue Apr 19, 2016 · 0 comments

Comments

@contentkraft
Copy link

Right now it doesn't seem to be possible to exclude certain files from a template file from being processed by the CDN plugin.

Example: You want to add a cookie bar to your site which is hosted on jsDelivr. You would have this code in your template file:

{% do assets.addJs('//cdn.jsdelivr.net/cookie-bar/1/cookiebar-latest.min.js') %}

That JavaScript file should not be processed by the CDN because it's already hosted on one.

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