Skip to content
Log in

append - Liquid Filter Reference

On this page

Description

Adds the specified string to the end of another string.

Property Value
Return Type string
Category text

Examples

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

Output: /my/fancy/url.html

append can also accept a variable as its argument

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

Output: website.com/index.html

Was this article helpful?

Was this article helpful?