Added in: v1.9.1
Adds the specified string to the beginning of another string.
Input
{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }} |
Output
Some fruit: apples, oranges, and bananas |
prepend
can also be used with variables:
Input
{% assign url = "example.com" %} |
Output
|