Homepage

Unreleased

Unreleased - only on Staging

IMPROVED

  • assign and function tags accept arguments in multiline, for example:

{% liquid
  assign outer_key = "user"
  assign inner_key = "name"
  assign hash = {
    outer_key: {
      inner_key: "Alice"
    }
  }
  echo hash
%}

  • assign tag supports string interpolation inside hash values, for example:

{% liquid
  assign email = "[email protected]"
  assign contact = { "email": "{{ email | downcase }}", "name": "{{ email | split: '@' | first }}" }
  echo contact
%}

Questions?

We are always happy to help with any questions you may have.

contact us