liquid icon indicating copy to clipboard operation
liquid copied to clipboard

A Liquid template engine in Go

Results 49 liquid issues
Sort by recently updated
recently updated
newest added

This pull request adds auto-escape functionality which is similar to implicitly applying a filter to the output of an expression block, but done in a slightly efficient way (using a...

## Checklist - [x] I have read the contribution guidelines. - [x] `make test` passes. - [x] `make lint` passes. - [x] New and changed code is covered by tests....

This PR adds the ability to specify variables and expressions in loop modifiers. Example: ```liquid {% assign limit = 3 %} {% assign offset = 1 %} {% for i...

This PR adds the [`else`](https://shopify.github.io/liquid/tags/control-flow/#elsif--else) clause to `unless` ## Checklist - [x] I have read the contribution guidelines. - [x] `make test` passes. - [x] `make lint` passes. - [x]...

I like to implement a tag, that require the full lexical context (bindings) to be copied. Currently the `render.Context` interface exposes the `Get` and `Set` function to manipulate the bindings,...

Currently the range expression `(start..end)` is only supported in loops. This PR makes is possible to use it as a general expression e.g.: ```liquid {% assign l = (1..5) |...

## Checklist - [x] I have searched the [issue list](https://github.com/osteele/liquid/issues) - [ ] I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a...

The liquid spec is a little vague about quite how greedy whitespace trimming should be. Currently handling here will eat any available whitespace between tags including all newline characters e.g....

## Checklist - [x] I have searched the [issue list](https://github.com/osteele/liquid/issues) - [ ] I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a...

## Expected Behavior ```html {{ 'email' | errors.Get }} ``` ## Actual Behavior ``` syntax error in \"'email' | errors.Get\" ``` ## Detailed Description I have an errors struct with...