mirror of
https://github.com/kemko/liquid.git
synced 2026-01-02 08:15:41 +03:00
497 B
497 B
title
| title |
|---|
| prepend |
Adds the specified string to the beginning of another string.
{% raw %}
{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }}
{% endraw %}
{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }}
You can also prepend variables:
{% raw %}
{% assign url = "liquidmarkup.com" %}
{{ "/index.html" | prepend: url }}
{% endraw %}
{% assign url = "liquidmarkup.com" %}
{{ "/index.html" | prepend: url }}