class Liquid::Filters::Append

Overview

append

Concatenates two strings and returns the concatenated value.

Input {{ "/my/fancy/url" | append: ".html" }}

Output /my/fancy/url.html

append can also be used with variables:

Input {% assign filename = "/index.html" %} {{ "website.com" | append: filename }}

Output website.com/index.html

Extended Modules

Defined in:

liquid/filters.cr

Class Method Summary

Class Method Detail

def self.filter(data : Any, args : Array(Any) | Nil) : Any #

[View source]