append - Liquid Filter Reference - 1.0.0
Filter Name | append |
Group | Text |
Version | 1.0.0 |
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 1.0.0
Back to Documentation