All Classes and Interfaces
Class
Description
This class is a storage of supported types of Date/Time/DateTime types.
A class holding some examples of how to use Liqp.
Output markup takes filters.
An immutable map of
Filters.Documentation:
https://shopify.dev/docs/themes/liquid/reference/tags/iteration-tags
https://shopify.github.io/liquid/tags/iteration/
https://shopify.dev/docs/themes/liquid/reference/objects/for-loops
class IncludeRelativeTag < IncludeTag
def tag_includes_dirs(context)
Array(page_path(context)).freeze
end
def page_path(context)
page, site = context.registers.values_at(:page, :site)
return site.source unless page
site.in_source_dir File.dirname(resource_path(page, site))
end
private
def resource_path(page, site)
path = page["path"]
path = File.join(site.config["collections_dir"], path) if page["collection"]
path.delete_suffix("/#excerpt")
end
end
Basic class for both tags and blocks.
An immutable map of
Insertions.Created by vasyl.khrystiuk on 10/09/2019.
This class provides an empty implementation of
LiquidParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.This class provides an empty implementation of
LiquidParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.This interface defines a complete listener for a parse tree produced by
LiquidParser.This interface defines a complete generic visitor for a parse tree produced
by
LiquidParser.Special kind of
Inspectable that do not perform
object conversion to Map<String, Object> using jackson mapper,
but instead uses result of method LiquidSupport.toLiquid().The implementation of converter from Inspectable to LiquidSupport.
Created by vasyl.khrystiuk on 10/09/2019.
Denotes a node in the AST the parse creates from the
input source.
An abstract class the Filter and Tag classes extend.
A
BigDecimal with a PlainBigDecimal.toString() method that is equivalent to calling
BigDecimal.toPlainString().Jekyll-specific filter for array manipulation: Return a new array with the original array's last item
removed.
Used for resolving properties by name for specific kind of objects.
Jekyll-specific filter for array manipulation: Return a new array with the given item added to the
end.
This filter requires
baseurl parameter
that will be used as base for building relative url.
A
RenderTransformer handles the conversion of objects to be returned by
Template.renderToObject() etc.Something that can append objects.
Something that can append objects and return the result.
Jekyll-specific filter for array manipulation: Return a new array with the original array's first item
removed.
Tags are used for the logic in a template.
The main class of this library.
Sometimes the custom insertions needs to return some extra-data, that is not rendarable.
The new main entrance point of this library.
Equivalent of
Liquid::Template.error_mode = :strict # Raises a SyntaxError when invalid syntax is used
Liquid::Template.error_mode = :warn # Adds strict errors to template.errors but continues as normal
Liquid::Template.error_mode = :lax # The default mode, accepts almost anything.Jekyll-specific filter for array manipulation: Return a new array with the given item added to the
beginning.
There are two different implementations of this filter in ruby.
Created by vasyl.khrystiuk on 10/09/2019.