Files
liquid/filters/append.md
2016-03-15 19:36:23 -04:00

463 B

title
title
append

Concatenates two strings and returns the concatenated value.

{% raw %}
{{ "/my/fancy/url" | append: ".html" }}
{% endraw %}
{{ "/my/fancy/url" | append: ".html" }}

append can also be used with variables:

{% raw %}
{% assign filename = "/index.html" %}
{{ "website.com" | append: filename }}
{% endraw %}
{% assign filename = "/index.html" %}
{{ "website.com" | append: filename }}