append - Liquid Filter Reference - 0.11.6
Filter Name | append |
Group | Text |
Version | 0.11.6 |
Description
Adds the specified string to the end of another string.
Examples
{{ "/my/fancy/url" | append: ".html" }}
/my/fancy/url.html
append
can also accept a variable as its argument:
{% assign filename = "/index.html" %}
{{ "website.com" | append: filename }}
website.com/index.html
Back to Liquid Reference for 0.11.6
Back to Documentation