class

Liquid::Assign

Inherits Liquid::Tag / Reference / Object

Assign sets a variable in your template.

{% assign foo = 'monkey' %}

You can then use the variable later in the page.

{{ foo }}

Constants

Syntax = /(#{VariableSignature}+)\s*=\s*(.*)\s*/

Constructors

new(tag_name, markup, tokens)
Source

Instance methods

render(context)
Source