liquid
liquid copied to clipboard
A Liquid template engine in Go
## System information - Version: `github.com/osteele/liquid v1.2.4` - Go: `go version go1.13.7 darwin/amd64` ## Problem I am receiving syntax errors while trying to parse templates that are meant for shopify....
Right now bindings are a map so to use a struct I'd need to do something like the following: ```go bindings := map[string]interface{}{ "data": myStructVariable, } ``` It would be...
The CI should test whether the generated files (`expressions.go` and `y.go`) match the sources. The following GitHub Action will do this: ```yaml - name: Test generated code - run: |...
Add a CI step to build and test on a 32-bit platform. This will detect a regression in #47 or the introduction of similar bugs. I believe this requires building...
Blocked by golang/go#35781
## Checklist - [x] I have searched the [issue list](https://github.com/osteele/liquid/issues) - [x] I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a panic,...
Shopify Liquid [supports](https://shopify.github.io/liquid/tags/iteration/) a `for` loop `else` clause. This library does not. This was noticed by @tanema in issue #42.
## Summary The ruby implementation of liquid defines a "FileSystem" interface than can be used to load template files from sources other than the local disk. This allows a developer...
I envision a cache package, with a null cache, a cache that examines file mod time, and a cache that doesn't. Maybe just doc how to do this instead.
Investigate the interaction of loop reversed, limit, and offset, and whether it matters which order they're specified.