-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Group assets outputs all assets #374
Comments
This has been fixed a few days ago in develop branch. Can you try that? |
BTW you are doing it wrong.. you add the group with the The way you have it, it will not see a string, and just render the default group, hence all the other assets. |
just updated to 1.0.0RC1: using |
Oh I see. CSS doesn't support groups only JS. CSS is only valid in head so no point having multiple group support for it. |
would be useful to group CSS assets for e.g. MSIE compatibility |
Hmm. I guess I can see how having multiple groups in the head could be useful.. I can add it.. not a big deal. |
great :) |
Ugg. committed to master accidentally.. should be in develop now though. |
This reverts commit f656330.
http://learn.getgrav.org/themes/asset-manager#grouped-assets
when adding a grouped asset e.g.
{% do assets.addCss('theme://css/nucleus-ie10.css', {'priority':102,'group':'msie_10'}) %}
the tag
{{ assets.css({'group':'msie_10'}) }}
returns all assets - also those without having specified a group.
I would expect that only the assets of the same group would be returned.
The text was updated successfully, but these errors were encountered: