append

Filter = append

It concatenates two strings and returns the concatenated value.

INPUT

OUTPUT

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

/my/fancy/url.html

append can also be used with variables:

INPUT

OUTPUT

{% assign filename = "/index.html" %}

{{ "website.com" | append: filename }}

website.com/index.html