prepend
別の文字列の先頭に指定された文字列を追加します。
入力
{{ "apples, oranges, and bananas" | prepend: "Some fruit: " }}
出力
Some fruit: apples, oranges, and bananas
prepend
は引数として変数を受け入れることもできます。
入力
{% assign url = "example.com" %}
{{ "/index.html" | prepend: url }}
出力
example.com/index.html