liquid
liquid copied to clipboard
Liquid markup language. Safe, customer facing template language for flexible web apps.
Hey Shopify, thought your README could use some help! I added a getting started section and formatted most of the readme so that it's easier on the eyes. I also...
This PR adds `url_add_param` and `url_remove_param` filters. **Usage:** ```liquid {{ 'https://shopify.com' | url_add_param: 'foo', 'bar' }} => https://shopify.com?foo=bar {{ 'https://shopify.com?foo=bar' | url_remove_param: 'foo' }} => https://shopify.com? ``` **Specific use case:**...
`http://www.liquidmarkup.org` is `http` `http://www.liquidmarkup.org` redirects to `https://shopify.github.io/liquid/` `https://www.liquidmarkup.org` can’t provide a secure connection (ERR_SSL_PROTOCOL_ERROR)
In the [Liquid docs](https://shopify.github.io/liquid/basics/operators/) it says: > In tags with more than one and or or operator, operators are checked in order from right to left. I wasn't sure what...
Ranges with floats get converted to ranges of integers (e.g. `1.1..5.5` gets converted to range `1..5`) but this is not the case with ranges of variables (e.g. if `x ==...
Currently, the strict parser uses `Parser#expression` to build the string and then uses `Expression.parse` to parse the built string. Since `Expression.parse` is regex based, it has trouble parsing certain things...
Add tests for Shopify/liquid-c#120.
## Problem Liquid::Template instances naturally holds the state of the parsed liquid template, but also holds mutable state related to rendering. That mutable rendering state makes it hard to reason...
- **Initialize singleton class instance_variables instead of using `private attr_writer` methods** — since those private methods don't seem to be used elsewhere consequently. - Define `attr-*` of the singleton class...
From #1208 This is a WIP proof of concept of an idea I have. This is my simple and naive attempt at isolating filter modules from one another. This way...