Add liquid.cr support (#15)

* Add liquid.cr support

* Minor

* Add specs for passing custom context to Liquid

E.g.:

context = Liquid::Context.new
context.set "key", "value"
render( "/path/to/template.liquid", context)
This commit is contained in:
Davor Ocelic 2018-02-10 20:21:11 +01:00 committed by Jerome Gravel-Niquet
parent d177f02e12
commit bfd630f35c
4 changed files with 38 additions and 0 deletions

1
spec/fixtures/test.liquid vendored Normal file
View file

@ -0,0 +1 @@
<span>{{ process.pid }}</span>