liquid
liquid copied to clipboard
Liquid markup language. Safe, customer facing template language for flexible web apps.
I have a drop like this: ``` class FolderDrop < Liquid::Drop def initialize(folder) @folder = folder end delegate :name, to: :@folder def children @folder.component_instance.children.current.front_end.to_a end end ``` I have a...
## Overview This PR introduces a syntax improvement to Liquid templates: **Boolean Expression Support**: Enhanced boolean handling with proper operator precedence This change makes templates more readable and concise by...
The where and reject filters in Shopify Liquid are not functioning correctly. When used to filter collections based on properties like tags, they return incorrect results—often an empty array ([])...
## Overview This PR introduces a significant syntax improvement to Liquid templates: **Infix Operator Support**: More intuitive mathematical and logical operations This change makes templates more readable and concise by...
Base64 filters were added in Liquid 5.1 together with URL safe variants. There seems to be two variants out in the wild, and the question is can/should Liquid support both?...
Fixes #1862 `base64_url_safe_encode` should not render `=` characters. This change is compatible with already encoded strings, meaning `base64_url_safe_decode` will work on string encoded with the previous version that emitted padding...
Added info about breaking change from https://github.com/Shopify/liquid/pull/1847
Hello there, Previous to release 5.6.0, up to 5.5.1, this code was possible (tested using ruby >= 3.2): ``` ct = Liquid::Template.parse(some_valid_liquid_string) Marshal.dump(ct) # this can be saved to memcache...
Hi everyone, I am trying to use the new `| reject` filter for arrays. It works fine when the page is rendered normally (even though theme-check still considers it an...
as I'm creating Shopify blocks and there is a limit on the app block size, list settings become very cumbersome due to their size: ``` { "type": "select", "id": "one",...