Search results for "module:Template::Liquid"
Template::Liquid - A Simple, Stateless Template System
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag - Documentation for Template::Liquid's Standard Tagsets
Tags are used for the logic in your template. For a list of standard tags, see the Liquid documentation....
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Error - General Purpose Error Object
This is really only to be used internally....
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Block - Simple Node Type
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Context - Complex Variable Keeper
This is really only to be used internally....
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Utility - Utility stuff. Watch your step.
It's best to just forget this package exists. It's messy but seems to work....
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Filters - Default Filters Based on Liquid's Standard Set
SANKO/Template-Liquid-1.0.23
-
25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::If - Basic If/Elsif/Else Construct
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Variable - Generic Value Container
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::For - Simple loop construct
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Document - Generic Top-level Object
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Raw - General Purpose Content Container
"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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Case - Switch Statement Construct
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Condition - Basic Relational, Equality, and Content Operators
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Cycle - Document-level Persistant Lists
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Break - For-block killing construct
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Assign - Variable assignment construct
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.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Unless - Unless: The Opposite of If
Unless is the opposite of if. The block is rendered *unless* the condition is true....
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Comment - General Purpose Content Eater
"comment" is the simplest tag. Child nodes are not rendered so it effectively swallows content. {% for article in articles %} <div class='post' id='{{ article.id }}'> <p class='title'>{{ article.title | capitalize }}</p> {% comment %} Unless we're vi...
SANKO/Template-Liquid-1.0.23 - 25 Sep 2023 22:17:51 UTC
Template::Liquid::Tag::Capture - Extended variable assignment construct
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.23 - 25 Sep 2023 22:17:51 UTC