liquid.cr icon indicating copy to clipboard operation
liquid.cr copied to clipboard

Liquid template engine for Crystal

Results 11 liquid.cr issues
Sort by recently updated
recently updated
newest added

https://github.com/Shopify/liquid/blob/master/lib/liquid/drop.rb

I-enhancement

Liquid does have a syntax for this, but I don't see it within this library. It is a very useful part of Liquid. https://shopify.github.io/liquid/tags/template/

I-enhancement

~This still a draft.~ All public methods with no arguments from a Drop is exported. I implemented a small stack machine to be able to process the expressions given to...

# Filters - [x] abs - [x] append - [x] capitalize - [x] ceil - [x] compact - [x] date - [x] default - [x] divided_by - [x] downcase -...

E-help-wanted
A-filters
P-medium

I've benchmarked this project versus Shopify/liquid on Ruby 2.5 And got very strange results: **Ruby** ```ruby tpl = Liquid::Template.parse(template) ctx = Liquid::Context.new ctx["order"] = order Benchmark.ips do |x| x.report("parse &...

this works fine ------------------- ``` {% assign params_name = "{{ name | underscore }}_params" %} {% assign hash_name = "{{ name| underscore }}_hash" %} {% assign create_model_method = "create_{{ name...

I-enhancement
E-help-wanted

Choose which action is the best when bad arguments are given to a filter: - Raise an exception - Return the data given in input ( default for now )...

A-filters
P-low

- [ ] Add `contains` keyword ( http://shopify.github.io/liquid/basics/operators/ ) - [ ] Add support for Array into expressions - [ ] Add square bracket [ ] notation to access an...

P-medium
A-expressions

- [ ] Add decrement block - [x] Add case/when - [ ] Add unless see : http://shopify.github.io/liquid/tags/control-flow/

E-help-wanted
A-blocks
P-medium

This PR fixes some warnings detected by Ameba and add the ameba action to CI.