append - Liquid Filter Reference - 0.10.11

Filter Name append
Group Text
Version 0.10.11

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.10.11

 

 
Back to Documentation