Skip to content

Prepend ​

Adds a string to the start of the input string.

liquid
{{ string | prepend: string }}

Example ​

liquid
{{ 'sale.jpg' | prepend: 'images/' }}

Output

html
images/sale.jpg