We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following works with or without a cssmin filter being defined.
cssmin
example.liquid:
example.liquid
{% capture testcss %} {% include css/test.css %} {% endcapture %} <style>{{ testcss | cssmin | safe }}</style>
When a filter is not defined, an error should be produced.
(as seen in Quick Tip #005—Super Simple CSS Concatenation)
The text was updated successfully, but these errors were encountered:
I did make a fair number of changes to the error reporting stuff in 0.5.4, this is what it reports in Nunjucks:
But you’re absolutely right that it fails silently in Liquid templates.
Sorry, something went wrong.
Ah, looks like there is a strict_filters option: https://github.com/harttle/liquidjs#options
strict_filters
With this option enabled:
I added this to the Liquid setLiquidOptions documentation example and created another issue to change this to true by default when we go 1.0.
true
https://www.11ty.io/docs/languages/liquid/
Closing this one—follow along at #222 for the default change—thanks!
Test for #183
89681c8
#222 is shipping with 1.0
zachleat
No branches or pull requests
The following works with or without a
cssmin
filter being defined.example.liquid
:When a filter is not defined, an error should be produced.
(as seen in Quick Tip #005—Super Simple CSS Concatenation)
The text was updated successfully, but these errors were encountered: