Template::Liquid - A Simple, Stateless Template System River stage one • 4 direct dependents • 4 total dependents

The original Liquid template engine was crafted for very specific requirements: * It has to have simple markup and beautiful results. Template engines which don't produce good looking results are no fun to use. * It needs to be non-evaling and secure...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag - Documentation for Template::Liquid's Standard Tagsets River stage one • 4 direct dependents • 4 total dependents

Tags are used for the logic in your template. For a list of standard tags, see the Liquid documentation....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Block - Simple Node Type River stage one • 4 direct dependents • 4 total dependents

There's not really a lot to say about basic blocks. The real action is in the classes which make use of them or subclass it. See if, unless, or case....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Error - General Purpose Error Object River stage one • 4 direct dependents • 4 total dependents

This is really only to be used internally....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Utility - Utility stuff. Watch your step. River stage one • 4 direct dependents • 4 total dependents

It's best to just forget this package exists. It's messy but seems to work....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Context - Complex Variable Keeper River stage one • 4 direct dependents • 4 total dependents

This is really only to be used internally....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::If - Basic If/Elsif/Else Construct River stage one • 4 direct dependents • 4 total dependents

If I need to describe if/else to you... Oy. "if" executes the statement once if and *only* if the condition is true. If the condition is false, the first "elseif" condition is evaluated. If that is also false it continues in the same pattern until we...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Filters - Default Filters Based on Liquid's Standard Set River stage one • 4 direct dependents • 4 total dependents

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Document - Generic Top-level Object River stage one • 4 direct dependents • 4 total dependents

This shouldn't be used. ...unless you're really interested in how things work. This is the grandfather class; everything is a child or subclass of this object....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Variable - Generic Value Container River stage one • 4 direct dependents • 4 total dependents

This class can hold just about anything. This is the class responsible for handling echo statements: Hello, {{ name }}. It's been {{ lastseen | date_relative }} since you logged in. Internally, a variable is the basic container for everything; lists,...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::For - Simple loop construct River stage one • 4 direct dependents • 4 total dependents

For loops... uh, loop over collections. Loop-scope Variables During every for loop, the following helper variables are available for extra styling needs: * "forloop.length" length of the entire for loop * "forloop.index" index of the current iteratio...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Raw - General Purpose Content Container River stage one • 4 direct dependents • 4 total dependents

"raw" is a simple tag. Child nodes are rendered as they appear in the template. Code inside a "raw" tag is dumped as-is during rendering. So, this... {% raw %} {% for article in articles %} <div class='post' id='{{ article.id }}'> <p class='title'>{{...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Condition - Basic Relational, Equality, and Content Operators River stage one • 4 direct dependents • 4 total dependents

These operators evaluate to true/false values. This is used internally but since you're here... might as well skim it. Nothing new to most people....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Case - Switch Statement Construct River stage one • 4 direct dependents • 4 total dependents

If you need more conditions, you can use the "case" tag. Note that, stuff that comes before the first "when" or "else" is ignored. ...just as it is in Liquid....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Cycle - Document-level Persistant Lists River stage one • 4 direct dependents • 4 total dependents

Often you have to alternate between different colors or similar tasks. Template::Liquid has built-in support for such operations, using the "cycle" tag....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Break - For-block killing construct River stage one • 4 direct dependents • 4 total dependents

You can use the "{% break %}" tag to break out of the enclosing for block. Every for block is implicitly ended with a break....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Unless - Unless: The Opposite of If River stage one • 4 direct dependents • 4 total dependents

Unless is the opposite of if. The block is rendered *unless* the conditon is true....

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Assign - Variable assignment construct River stage one • 4 direct dependents • 4 total dependents

You can store data in your own variables for later use as output or in other tags. The simplest way to create a variable is with the "assign" tag which a rather straightforward syntax. {% assign person.name = 'john' %} Hello, {{ person.name | capital...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Capture - Extended variable assignment construct River stage one • 4 direct dependents • 4 total dependents

If you want to combine a number of strings into a single string and save it to a variable, you can do that with the "capture" tag. This tag is a block which "captures" whatever is rendered inside it, then assigns the captured value to the given varia...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

Template::Liquid::Tag::Comment - General Purpose Content Eater River stage one • 4 direct dependents • 4 total dependents

"comment" is the simplest tag. Child nodes are not rendered so it effectivly swallows content. {% for article in articles %} <div class='post' id='{{ article.id }}'> <p class='title'>{{ article.title | capitalize }}</p> {% comment %} Unless we're vie...

SANKO/Template-Liquid-1.0.10 - 08 Sep 2016 02:55:25 GMT

21 results (0.032 seconds)