append - Liquid Filter Reference - 0.11.2

Filter Name append
Group Text
Version 0.11.2

Description

Adds the specified string to the end of another string.

Examples

{{ "/my/fancy/url" | append: ".html" }}
/my/fancy/url.html
append can also accept a variable as its argument:
{% assign filename = "/index.html" %}
{{ "website.com" | append: filename }}
website.com/index.html

Back to Filter List

Back to Liquid Reference for 0.11.2

 

 
Back to Documentation